-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add contributing information to packages #38122
Conversation
Thank you for starting this! Maybe we should also include this in the general guideline when creating a new package as well. |
Great idea. I guess we need only to agree on the wording and apply it to all existing packages. ❤️ |
LGTM. That's a good improvement! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a good change. Let me know if I can help with rolling this out to the other packages as I can imagine that will be a lot of copy/paste! 😄
I've changed the wording a bit. Let me know what you think. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still reads well to me 👍
It looks great ❤️ |
packages/README.md
Outdated
@@ -46,6 +46,7 @@ When creating a new package, you need to provide at least the following: | |||
- Installation details | |||
- Usage example | |||
- API documentation, if applicable ([more info](#maintaining-api-documentation)) | |||
- A link to the contributing guidelines |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we put the full text of the new section proposed so people can copy and paste it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe something like a script to auto-generate a new package would be better? Not something should be covered in this PR though but just an idea 🙈 .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a link to the text in one of the packages. 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I completely agree with these type of improvements. I think there's a lot still to do in terms of adding context to the different lines of resources generated from the WordPress Core ecosystem. I find this specific change SUPER useful and I'd love to see more like this one.
Thank you @talldan for taking care of this.
97829dc
to
42cb8bf
Compare
Thanks for the reviews everyone. I've added copy/pasted the text across to all packages now and will merge when CI passes 👍 |
Description
One of the valid ways to find out about an individual Gutenberg package is via npm (https://www.npmjs.com/package/@wordpress/components). From there users can visit a package homepage (which most prominently shows the package's README file) to find out more about a package (https://github.com/WordPress/gutenberg/blob/trunk/packages/components/README.md). Some visitors may wish to make a contribution, but our package READMEs don't contain links to the contributor guide.
It'd be nice to rectify that to improve the contribution experience.
Here I've started off by adding details to one package (a11y, because its first in the alphabetical list). I'm looking for feedback on the text. Once that's honed, I'll copy and paste it across to the other packages.
Types of changes
Documentation