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

Add contributing information to packages #38122

Merged
merged 6 commits into from
Jan 27, 2022

Conversation

talldan
Copy link
Contributor

@talldan talldan commented Jan 21, 2022

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

@talldan talldan added the [Type] Developer Documentation Documentation for developers label Jan 21, 2022
@talldan talldan requested review from annezazu, a team, gziolo, nerrad, kevin940726, getdave, noisysocks, tellthemachines, adamziel, anton-vlasenko and draganescu and removed request for a team January 21, 2022 06:52
@kevin940726
Copy link
Member

Thank you for starting this!

Maybe we should also include this in the general guideline when creating a new package as well.

@gziolo gziolo added the npm Packages Related to npm packages label Jan 21, 2022
@gziolo
Copy link
Member

gziolo commented Jan 21, 2022

Great idea. I guess we need only to agree on the wording and apply it to all existing packages.

❤️

packages/a11y/README.md Outdated Show resolved Hide resolved
@anton-vlasenko
Copy link
Contributor

LGTM. That's a good improvement!

Copy link
Contributor

@getdave getdave left a 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! 😄

@talldan
Copy link
Contributor Author

talldan commented Jan 25, 2022

I've changed the wording a bit. Let me know what you think.

Copy link
Contributor

@getdave getdave left a 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 👍

@gziolo
Copy link
Member

gziolo commented Jan 25, 2022

It looks great ❤️

@@ -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
Copy link
Member

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?

Copy link
Member

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 🙈 .

Copy link
Contributor Author

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. 👍

Copy link
Member

@kevin940726 kevin940726 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link
Contributor

@ryanwelcher ryanwelcher left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link
Contributor

@juanmaguitar juanmaguitar left a 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.

@talldan talldan force-pushed the add/contributor-guide-links-to-packages branch from 97829dc to 42cb8bf Compare January 27, 2022 07:39
@talldan
Copy link
Contributor Author

talldan commented Jan 27, 2022

Thanks for the reviews everyone. I've added copy/pasted the text across to all packages now and will merge when CI passes 👍

@talldan talldan merged commit 7163532 into trunk Jan 27, 2022
@talldan talldan deleted the add/contributor-guide-links-to-packages branch January 27, 2022 08:26
@github-actions github-actions bot added this to the Gutenberg 12.6 milestone Jan 27, 2022
@talldan talldan self-assigned this Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
npm Packages Related to npm packages [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants