Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: make contributing info more discoverable #41408

Closed
wants to merge 2 commits into from

Conversation

mhdawson
Copy link
Member

@mhdawson mhdawson commented Jan 5, 2022

There are been several discussions in recent PRs about
the docs related to contributing not being very discoverable.
Move these docs from doc/guides/ to doc/contributing.

Signed-off-by: Michael Dawson [email protected]

@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to the documentations. label Jan 5, 2022
@mhdawson
Copy link
Member Author

mhdawson commented Jan 5, 2022

I think this is a step in the right direction although there may be other suggestions. If nothing else it can kickoff the bikeshedding.

@richardlau
Copy link
Member

If we move these we'll also need to update any links, e.g. in https://github.com/nodejs/node/blob/master/CONTRIBUTING.md

@mhdawson
Copy link
Member Author

mhdawson commented Jan 5, 2022

I think I forgot to check in updates I made to fix a number of the lint issue :(

@mhdawson
Copy link
Member Author

mhdawson commented Jan 5, 2022

pushed commit to fix linter errors.

@mhdawson
Copy link
Member Author

mhdawson commented Jan 5, 2022

Will fix up things like the code owners once I see if people like/dislike the proposal

@mhdawson
Copy link
Member Author

mhdawson commented Jan 5, 2022

@Trott since you are active on docs. Want to get some level of agreement before I look at fixing up all the links in files not being moved.

I think those will just be the set identified in the linter failures reported. I guess my local run does not report those since they are in files not being changed.

@mhdawson mhdawson added the tsc-agenda Issues and PRs to discuss during the meetings of the TSC. label Jan 7, 2022
@mhdawson
Copy link
Member Author

mhdawson commented Jan 7, 2022

Adding to tsc agenda to get some feedback on if this is a reasonable approach or not.

@Trott
Copy link
Member

Trott commented Jan 8, 2022

@Trott since you are active on docs. Want to get some level of agreement before I look at fixing up all the links in files not being moved.

At a high level, yes, I believe this is a sensible approach.

@jasnell
Copy link
Member

jasnell commented Jan 10, 2022

+1 to this. Definitely think it's a good change!

@mmarchini
Copy link
Contributor

In case anyone else was wondering, all docs from guides were moved to contributing (which makes sense IMO, since all docs there were related to contributing, maybe with the exception of build instructions).

@mhdawson I wouldn't be surprised if we have links in the org pointing to the coc file that was on doc/guides, worth double checking before landing.

/doc/guides/contributing/*.md @nodejs/tsc
/doc/guides/collaborator-guide.md @nodejs/tsc
/doc/guides/offboarding.md @nodejs/tsc
/doc/contributing/*.md @nodejs/tsc
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this means that the TSC will be pinged for changes to any of the guides now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, good idea

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was more of a comment/heads up. The previous directory structure and config only pinged TSC on a subset of documents.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If that becomes a problem I'm happy to change in later on.

There are been several discussions in recent PRs about
the docs related to contributing not being very discoverable.
Move these docs from doc/guides/ to doc/contributing.

Signed-off-by: Michael Dawson <[email protected]>
Signed-off-by: Michael Dawson <[email protected]>
@mhdawson
Copy link
Member Author

Rebased and squashed and also looks like @targos fixed all of the links outside the docs I modified. Thanks!

@mhdawson mhdawson removed the tsc-agenda Issues and PRs to discuss during the meetings of the TSC. label Jan 17, 2022
@mhdawson
Copy link
Member Author

Rerunning the test-asan once that passes I think the fact the the rest of the github actions are green likely means that links have been fixed up as well and this should be good to land. I'll do that once test-asan passes in order to avoid future conflicts which will happen every time there is a change to one of the maintaining docs.

I

@mhdawson
Copy link
Member Author

Well test-asan failed again. Moving docs is not going to affect that and re-running an hour +1 job just to get an action to pass that does not test the change in the PR does not sound useful.

Going to land.

@mhdawson
Copy link
Member Author

See this now has changed in code as well as docs, kicking off ci.

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@mhdawson
Copy link
Member Author

Created 5 PRs to update links in other repos, will help to update others if we find ones that need to updated.

@ljharb
Copy link
Member

ljharb commented Jan 18, 2022

re #41408 (comment), cool URLs don't change - can files be added in guides that point to the new locations?

@mhdawson
Copy link
Member Author

re #41408 (comment), cool URLs don't change - can files be added in guides that point to the new locations?

I don't quite follow, the URLs are changing, I was submitting PRs to update to the new location?

@ljharb
Copy link
Member

ljharb commented Jan 18, 2022

Right - i was referencing this core principle of the web which means that if a link moves, it's supposed to redirect, so that any link that's ever worked continues to work for eternity.

For in-repo docs this indeed may not always be practical, but for specific cases when a doc is known to be externally linked, it seems like a reasonable thing to do to me.

@mhdawson
Copy link
Member Author

In this case the external links are in our own, or related repos so I think updating those thinks is probably the right thing to do versus keeing a redirect file forever.

mhdawson added a commit that referenced this pull request Jan 18, 2022
There are been several discussions in recent PRs about
the docs related to contributing not being very discoverable.
Move these docs from doc/guides/ to doc/contributing.

Signed-off-by: Michael Dawson <[email protected]>

PR-URL: #41408
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Derek Lewis <[email protected]>
Reviewed-By: Mary Marchini <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@mhdawson
Copy link
Member Author

Landed in a199387

@mhdawson mhdawson closed this Jan 18, 2022
nschonni pushed a commit to nodejs/nodejs.org that referenced this pull request Jan 18, 2022
* doc: fixup links to code-of-conduct.md

Refs: nodejs/node#41408

The code-of-conduct.md file has been moved, update
the related links.

Signed-off-by: Michael Dawson <[email protected]>

* squash: remove package-lock.json change

Signed-off-by: Michael Dawson <[email protected]>
mhdawson added a commit to mhdawson/nodejs.org that referenced this pull request Jan 18, 2022
mhdawson added a commit to pkgjs/support that referenced this pull request Jan 18, 2022
Refs: nodejs/node#41408

The code-of-conduct.md file has been moved, update
the related links.

Signed-off-by: Michael Dawson <[email protected]>
mhdawson added a commit to mhdawson/bootstrap that referenced this pull request Jan 18, 2022
Refs: nodejs/node#41408

The code-of-conduct.md file has been moved, update
the related links.

Signed-off-by: Michael Dawson <[email protected]>
mhdawson added a commit to openjs-foundation/cross-project-council that referenced this pull request Jan 18, 2022
Refs: nodejs/node#41408

The code-of-conduct.md file has been moved, update
the related links.

Signed-off-by: Michael Dawson <[email protected]>
nschonni pushed a commit to nodejs/nodejs.org that referenced this pull request Jan 19, 2022
* doc: update links to collaborator guide

Refs: nodejs/node#41408

Signed-off-by: Michael Dawson <[email protected]>

* squash: fixup

Signed-off-by: Michael Dawson <[email protected]>
BethGriggs pushed a commit that referenced this pull request Jan 25, 2022
There are been several discussions in recent PRs about
the docs related to contributing not being very discoverable.
Move these docs from doc/guides/ to doc/contributing.

Signed-off-by: Michael Dawson <[email protected]>

PR-URL: #41408
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Derek Lewis <[email protected]>
Reviewed-By: Mary Marchini <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Linkgoron pushed a commit to Linkgoron/node that referenced this pull request Jan 31, 2022
There are been several discussions in recent PRs about
the docs related to contributing not being very discoverable.
Move these docs from doc/guides/ to doc/contributing.

Signed-off-by: Michael Dawson <[email protected]>

PR-URL: nodejs#41408
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Derek Lewis <[email protected]>
Reviewed-By: Mary Marchini <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@PETERO2022
Copy link

interesting and willing to learn more

RaisinTen added a commit to RaisinTen/TSC that referenced this pull request Feb 19, 2022
doc/guides was moved to doc/contributing in
nodejs/node#41408.

Signed-off-by: Darshan Sen <[email protected]>
targos pushed a commit to nodejs/TSC that referenced this pull request Feb 19, 2022
doc/guides was moved to doc/contributing in
nodejs/node#41408.

Signed-off-by: Darshan Sen <[email protected]>
danielleadams pushed a commit that referenced this pull request Feb 26, 2022
There are been several discussions in recent PRs about
the docs related to contributing not being very discoverable.
Move these docs from doc/guides/ to doc/contributing.

Signed-off-by: Michael Dawson <[email protected]>

PR-URL: #41408
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Derek Lewis <[email protected]>
Reviewed-By: Mary Marchini <[email protected]>
Reviewed-By: James M Snell <[email protected]>
danielleadams pushed a commit that referenced this pull request Mar 14, 2022
There are been several discussions in recent PRs about
the docs related to contributing not being very discoverable.
Move these docs from doc/guides/ to doc/contributing.

Signed-off-by: Michael Dawson <[email protected]>

PR-URL: #41408
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Derek Lewis <[email protected]>
Reviewed-By: Mary Marchini <[email protected]>
Reviewed-By: James M Snell <[email protected]>
tobie pushed a commit to openjs-foundation/cross-project-council that referenced this pull request Sep 1, 2023
Refs: nodejs/node#41408

The code-of-conduct.md file has been moved, update
the related links.

Signed-off-by: Michael Dawson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations.
Projects
None yet
Development

Successfully merging this pull request may close these issues.