I have a package I would like to document with sphinx. The package consists of a few native modules (generated using boost-python) and an __init__.py
The __init__.py
does a bunch of (documented) monkey patching of the boost-python modules and provides a bunch of convenience functions.
I haven't been able to figure out how to tell sphinx to generate package level documentation based on the __init__.py
. All I've found in my searching is how to get sphinx to generate documentation from a class __init__
method, which is not what I'm after.
.. automodule:: yourpackage
should work, with the:members:
option. – Aguiarsphinx-apidoc -f ...
and.. automodule:: mypackage
was generated along with the:members:
option. No luck. :( – Shurwood