MkDocs Documentation Development#
This document describes how we develop MkDocs documentation.
Prerequisites#
- Install Visual Studio Code
Repositories#
We host our documentation using the ES S4 service.
Develop#
- Clone the needed repositories.
- Open the repository directory in Visual Studio Code.
- Create a python virtual environment in the repository directory (one time setup).
- Activate the environment and start a local mkdocs server (every time setup).
- Open http://127.0.0.1:8000/development-environment/mkdocs/ in your browser.
- Your browser should automatically refresh every time you save a file.
- Press ctrl+c to break out of the
mkdocs serve
command when done developing to stop the server.
Deploy#
Create a merge request in the repository. Once reviewed and merged, it will automatically be pushed to production.