Build docs locally
Get a local copy of the code repository: either clone it or download and extract ZIP of latest
Install the docs dependencies, which are in
docs/requirements.txt[pip3 install -r docs/requirements.txt]cd into the
docsfolderRun
make html, or on Windows./make.bat htmlIf build succeeds, open
build/html/index.htmlin your browser
Between builds you may sometimes have to make clean for things to work properly, for example when updating public files like images or css.
There are a few things that don’t seem to work locally, that do work on readthedocs:
No twisties to open subsections in the sidebar
When you navigate to another section or subsection, the sidebar does not automatically scroll to where you were