I have open-sourced some of my code, but the documentation won't build properly on ReadTheDocs despite working as expected with the Makefile created by sphinx-quickstart
and make html
locally. Can anyone please advise as to what I'm doing wrong with the RTD integration?
I have read about possibly building the module in a virtualenv with the RTD advanced settings but that doesn't work because I have scipy as a requirement and builds fail due to no BLAS library being available (it is also an unnecessarily long task for every build of docs).
sphinx.ext.autodoc and sphinx.ext.napoleon (for Google-style docstrings) are both included. Locally I just ran dev-scripts/api-docs.sh
once which created docs/source/bnol.rst
and docs/source/modules.rst
. Then the standard Makefile (ignored in the git repo) is used to build docs as expected.
- GitHub repository with package in
/bnol/
- Sphinx conf.py
- RTD-hosted docs not built properly
EDIT: I found this FAQ detailing the build process on RTD and used the same process with sphinx-build
locally and it works as expected. I am trawling RTD logs for errors but nothing of note just yet.