Run in the project virtualenv:
$ pip3 install SphinxRun in docs/ folder.
$ sphinx-quickstart # make sure to enable autodoc$ sphinx-apidoc -f -o docs/ <projectdir>extensions = ['sphinx.ext.napoleon']napoleon_include_private_with_doc = True
napoleon_include_special_with_doc = True$ make htmlMake sure to install your package beforing generating the documentation.
Installing locally...
$ python3 setup.py developInstalling in the system ...
$ pip3 install <packagename>- First Steps with Sphinx
- Support for NumPy and Google style docstrings
- Example Google Style Python Docstrings
- Open Sourcing a Python Project the Right Way
- Read the Docs - Getting Started
- reStructuredText Primer
- How to generate sphinx documentation for python code
- Getting Started with Sphinx / Autodoc: Part 1