Add the autodoc module in the extensions
list
present in the conf.py
file at the root of your documentation:
extensions = [
'sphinx.ext.autodoc',
...
]
Autodoc needs to imports your modules to work.
You can include your code path in your conf.py
file.
For instance:
import os
sys.path.insert(0, os.path.abspath('../src'))