pip install --upgrade sphinx sphinx-autobuildSphinx is the main documentation package; sphinx-autobuild is used for hot-load development.
After cloning the repo, run
sphinx-autobuild docs/source docs/build/_htmlsphinx-build -b html sourcedir builddirSee the official docs, as well as this Stack Overflow thread to assign a custom CSS to the Sphinx template.
- Place the following line into
source/_templates/layout.html:
{% set css_files = css_files + ['_static/css/alabaster-custom.css'] %}- If hot-loading doesn't reload the custom CSS, simply copy your custom CSS into the folder
_html/_static/css.