I want to automatically include subfunctions of a function in the sphinx documentation. What is the option for this?
My code looks like
import numpy
def mainfunc():
""" to be documented
"""
def subfunc():
""" to be documented as well
"""
By now I set in the included code.rst
Code Reference
==============
.. automodule:: lqgbt_lnse
:members:
But the output by sphinx includes only the mainfunction.