python-sphinx Writing docstrings using autodoc Installing the autodoc extension


Example

Add the autodoc module in the extensions list present in the conf.py file at the root of your documentation:

extensions = [
    'sphinx.ext.autodoc',
     ...
]