To build the documentation, run the following command:
# Install python documentation dependencies:
pip install -r ./requirements/requirements.docs.txt
# Serve documentation locally (for development):
mkdocs serve
# Or use the docs script:
./scripts/docs.sh
# Or build documentation:
mkdocs build
# Or use the docs script:
./scripts/docs.sh -b
Prerequisites:
- Install Graphviz
To generate diagrams, run the following command:
# Install python documentation dependencies:
pip install -r ./requirements/requirements.docs.txt
# Generate diagrams:
./scripts/diagrams.sh
# Install mkdocs-material and mkdocstrings:
pip install -U mkdocs-material mkdocstrings[python]
mkdocs new [dir-name]
- Create a new project.mkdocs serve
- Start the live-reloading docs server.mkdocs build
- Build the documentation site.mkdocs -h
- Print help message and exit.
mkdocs.yml # The configuration file.
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.