Document Generation
Site documentation is generated using sphinx with a python virtual environment and a custom makefile.
Building
Environment automatically setup via the Makefile when building documentation, for Debian and Manjaro platforms.
Documentation should be linkchecked for linkrot before building a new set of docs to be published.
Setup sphinx build environment.
make deps
One shot build and link verification.
make clean docs linkcheck
Build docs, then verify links separately.
make clean docs
make linkcheck
Clean docs/ to upload only source changes.
make head
Troubleshooting
master file […] checkouts/latest/contents.rst not found
Usually occurs when no sphinx modules are found in the python environment. Ensure environment is properly and retry. See Using Virtual Environments.
Additionally, you may force specify an alternative index in conf.py
using master_doc = 'index'
.
References
Development References