Step 1
Rename docs
folder to docs_src
.
Step 2
Move docs_src/_build
folder to docs
.
Step 3
Change build_sphinx
and upload_sphinx
sections in setup.cfg
:
Step 4
Add docs/doctrees/
to .gitignore
.
Step 5
Add empty docs/.nojekyll
file.
Step 6
Add docs/index.html
file:
Step 7
Go to GitHub project page. Select Settings
tab. On GitHub Pages
section set Source
to master branch /docs folder
.