Be concise: Say what is essential, not more.
Get feedback: Have someone from your target audience read your draft to share feedback so you can savor surprises.
If this is your first time contributing to Mattermost, first read the Mattermost Contributor Agreement and sign it (at the bottom of the page), so you can be added to the Mattermost Approved Contributor List. Please ensure the GitHub username field matches your username exactly on GitHub, including capitalization.
The quickest way to begin is navigating to the page you want to edit in Mattermost Handbook, then clicking the Edit on GitHub icon in the top right navigation. This opens the page in GitHub that you can edit.
In GitHub click the pencil icon in the navigation bar (above the page header) called Edit the file in your fork of this project to open the editable Markdown format page.
Make your edits. When you're ready to submit your changes, scroll to the bottom of the page to commit your changes and start a pull request.
Add a descriptive title if the default title isn't sufficient. Add an extended description to summarize the changes you've made.
Click the Propose file change button.
On the next page, scroll down to compare changes with the original document and then select Create pull request.
Confirm that the title and description are correct. Then select Create pull request.
Once a pull request has been submitted, a core committer with write-access assigns relevant reviewers and labels to kick off the review process. The review process includes aligning the content with the Style Guide, validating the changes, and tagging any other relevant committers.
Multiple committers may comment on your pull request and provide edits or suggestions which you can commit directly. You can also add line comments. Take a look at Commenting on pull requests for more details.
Once the review process is complete, the change is merged and pushed live. We recommend that you review your changes at https://handbook.mattermost.com for potential formatting errors.
All Handbook pages are written in Markdown, which is also the language used to post messages in Mattermost. To learn more about Markdown formatting, see the Mattermost guide for formatting text, or the guide from GitBook.
Creating a new page follows the same process as above, with two exceptions:
Navigate to that section of the handbook where you'd like to add the new page and select Create new file.
Add your new page to the Handbook table of contents.
You can update the left-hand navigation in the SUMMARY.md file.
Follow these two steps:
Go to the /assets folder, click Upload files, then upload the image files you want to add to your documentation. Make sure to have a clear name for each file you upload.
Next, go to the section you want to add an image to and include the following Markdown formatting:
Below is a list of approved reviewers.
@jasonblais: Reviews major changes to handbook.mattermost.com, such as updates to the table of contents.
@justinegeffen, @amyblais: Editor reviews of all submitted PRs for correct grammar and consistent style.
@rbradleyhaas, @michaelschiffmm: Signs off on changes to business operations.
TBD: Signs off on changes to messaging and math.
TBD: Signs off on changes to finance.
@natalie-hub, @HilaryClarke: Signs off on changes to workplace.
@it33: Signs off on changes to signing authority (example).
Each PR should be reviewed by at least one approved reviewer. A build check requiring at least one approved review prior to a merge is planned, similar to other Mattermost repositories.
Below is a list of permissions handbook contributors have access to:
@jasonblais, @justinegeffen, @amyblais: Write permissions to the repository.
@rbradleyhaas, @michaelschiffmm: Write permissions to the repository, but are not expected to make changes without reviews outside of business operations, nor make changes to table of contents without reviews.
Staff contributors: Submits changes to handbook.mattermost.com via PRs. Have access to request reviews, add labels, submit PR reviews, and be requested as reviewers.
Non-staff contributors: Submits changes to handbook.mattermost.com via PRs. Have access to request reviews, add labels, and submit PR reviews.