Рет қаралды 159,346
*EDIT: The behaviour of sphinx-quickstart appears to have changed since this video was posted (where sphinx==1.6.7). Please see comments for updated fix.*
From user Luke Davoli: "append "--ext-autodoc" when running sphinx-apidoc"
From user jairo ruiz: In order to make it work in the newest version (2.3.1), you will need to enable autodoc in the Sphinx conf.py file, just add 'sphinx.ext.autodoc' to the extensions list. Then you can run 'sphinx-apidoc' and 'make html' as it is explained in the video.
How to use Sphinx to generate great looking documentation for your Python project.
Note: This is the bare minimum needed to get up and running, but should serve as a good jumping off point.
CODE == github.com/avc...
Have questions?
Join my Discord == / discord