This repository generates the documentation available at http://docs.mattermost.com/
All documentation is available under the terms of a Creative Commons License.
To generate the HTML files from markdown in the /source
directory:
- Download repo onto a machine with Python installed
- Install pipenv:
pip install pipenv
cd
into the cloned repository- Install required packages:
pipenv install
- Build:
make html
- generates files in/build
directory
How to create Pull Requests to edit or create Mattermost documentation (by community members):
- Sign the Contributor License Agreement (see instructions in the next section).
- On the Mattermost Documentation page that you want to edit, click the GitHub icon on the upper right corner that says "Edit".
- Click "Edit the file in your fork of this project" (pencil icon) on the upper right corner.
- After making changes, check the "Propose file change" button.
- Compare changes with the original document.
- Click "Create a Pull Request". Make sure that the Pull Request has a descriptive title and add comments to briefly tell others what you have worked on (optional).
Signing CLA:
Please 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.
Additional process for Core Committers for Doc Repo:
These steps are to be followed only in situations of urgency or in situations where it is necessary to check that there aren't any high confidentiality issues. Otherwise the standard approval process should be followed.
- “Needs Editor Review” label should be processed after merge.
- IMPORTANT: Person conducting editor review needs to have their suggestions merged by author. Do this by mentioning the pre-release.mattermost.com user name in the GitHub Pull Request.
- Check weekly or bi-weekly that there are no “Needs Editor Review” labels on closed Pull Requests.
If you can't install sphinx on MacOS try sudo pip install sphinx sphinx-autobuild sphinx_rtd_theme --ignore-installed six
.