Note: building html requires dark mode. pip install sphinx-rtd-dark-mode sphinx-build -M html . _build