Autodoc¶
See the Sphinx autodoc page for full documentation.
Classes¶
To automatically document classes:
.. autoclass:: my_module.MyClass
:members:
:undoc-members:
The :members: option will automatically generate all documented methods
The :undoc-members: option will document all undocumented methods
- The :private-members: option will document private options (methods that
start with one or two underscores. Ex: _private)