Updating the Docs
We use MkDocs to create our documentation. For more information beyond what is in this guide, check out the MkDocs Documentation.
Setting Up the Environment¶
- Install
Python 3.x
- Open a terminal at the root of the repository.
- Type
pip install -r requirements.txt
to install MkDocs.
Starting the Preview Webserver¶
MkDocs contains a tool to allow you to preview your documentation changes live! In order to use it...
- Open a terminal at the root of the repository.
- Type
cd docs
to enter the documentation's source code directory. - Type
mkdocs serve
to start the preview webserver. - Navigate to
http://127.0.0.1:8000
to see the documentation and changes live!
Adding/Editing a Docs Page¶
- Create a new markdown file within
source/docs/
, or edit an existing markdown file within this folder. - Fill in this file with any markdown text you want!
- If you made a new file: Add this file to the navigation bar within
mkdocs.yml
. - Commit your changes to your GitHub branch.
- Submit a GitHub pull request to
Archmonger/Conreq:docs
.