Building the documentation locallyΒΆ
You need a recent Python version on your computer and a local clone of the repository.
The following commands should be run from the root directory of the clone.
First, install the required packages into a virtual environment. The documentation is built with Sphinx and MyST for markdown support.
py -m venv .venv
.venv\Scripts\activate
pip install -r docs\requirements.txt
Build the documentation (option -a tells sphinx to rebuild all files, --nitpicky warns on missing references):
sphinx-build -a --nitpicky docs docs/_build
Alternatively you can use the make command in the docs-folder to build the documentation:
cd docs
make html
The documentation is created in docs/_build and can be previewed by opening the file docs\_build\html\index.html in a web browser.