I have a python package Im about to migrate over to sphinx from epydoc. The package itself is documented with the sphinx automodule function. Now I would like to have a summary of all the classes in my module in a simple list/table in the beginning of my documented module, or even better(?) in the toc-tree.
My automodule part (in pymunk.rst) looks like
.. automodule:: pymunk
:members:
:undoc-members:
:show-inheritance:
:inherited-members:
then in pymunk.constraint.rst
.. automodule:: pymunk.constraint
:members:
:undoc-members:
:show-inheritance:
:inherited-members:
and so on. In each file I would like a list of all the classes so its easy to get an overview of whats available without scrolling through the whole documentation or the monstrous index. End result something like
pymunk
pymunk.Space
pymunk.Circle
...
My main target is to build to html.
Right now Im thinking about doing something clever with javascript to extract out and insert a list, but there must be a better way?
(The current state of the documentation: http://pymunk.readthedocs.org/en/latest/pymunk.html)