Build documentation with Sphinx¶
Build HTML locally¶
Go to the docs folder
cd docsInstall sphinx dependencies if they’re not already
pip install -r requirements.txtBuild HTML files
make clean html
If the build was successful, the HTML files will be in the build/html folder. Open index.html to review the documentation.
Build HTML in readthedocs¶
Register in readthedocs.
Import your project from GitHub.
Click in your project, click Admin section below your project’s name.
Click advanced setting, in Default settings. Put docs/requirements.txt to Requirements file. Enable “Install Project”.