-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Improve documentation for contributors/maintainers #4934
base: main
Are you sure you want to change the base?
Conversation
9f9925b
to
6e93383
Compare
It was pointed out recently that the link to the Contributing guide is buried at the bottom of the README. This commit makes it more prominent by moving it to the top and lists the major sections of the document. However, this commit also updates the Contributing guide to be more generally helpful and to answer questions that I've received from other teams not familiar with this repo who are unaware that codeownership and releases are shared among teams.
6e93383
to
0bd5091
Compare
@@ -2,9 +2,21 @@ | |||
|
|||
This monorepo is a collection of packages used across multiple MetaMask clients (e.g. [`metamask-extension`](https://github.com/MetaMask/metamask-extension/), [`metamask-mobile`](https://github.com/MetaMask/metamask-mobile/)). | |||
|
|||
## Modules | |||
## Contributing |
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.
This section was previously buried at the bottom.
@@ -148,120 +173,117 @@ To use a preview build for a package within a project, you need to override the | |||
|
|||
4. Run `yarn install`. | |||
|
|||
## Adding new packages | |||
## Releasing changes |
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.
This section got moved up, and expanded to give people more guidance than before.
Pay attention to the box you see when you press the green button and ensure that the final name of the commit follows the pattern "Release \<new version\>". | ||
You're done! | ||
|
||
## Performing operations across the monorepo |
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 didn't make any changes to this section, so it should be the same.
|
||
### Handling common errors |
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'm not sure the "Handling common errors" section is that useful. I've found that people reach out to me if they have issues. We can figure out a way to add it back if we need to.
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 good!
Explanation
It was pointed out recently that the link to the Contributing guide is buried at the bottom of the README. This commit makes it more prominent by moving it to the top and lists the major sections of the document.
However, this commit also updates the Contributing guide to be more generally helpful and to answer questions that I've received from other teams not familiar with this repo who are unaware that codeownership and releases are shared among teams.
README.md
contributing.md
References
As mentioned above, this PR was inspired by a message in Slack, but also inspired by conversations I've had in the past with other teams.
Changelog
N/A
Checklist