I spent a few hours looking at the autogen feature tonight. I think I'm
missing a few key points, cause I can't get the output to reflect what I can
already accomplish with automodule directive. Right now I'm using:
.. automodule:: my_module.sub_module
:members:
:undoc-members:
:show-inheritance
This produces a pretty nice listing of class and members. However the
autogen output looks something like:
module.sub_module
==========
.. automodule:: module.sub_module
.. rubric:: Classes
.. autosummary::
Class1
Class2
So what I want is to get the members for the classes, not just the
autosummary. How do you manage this? I realize there is way to override the
default templates that autogen uses, but even after putting them in the
template directory and using the :template: command, I can't get sphinx to
pick them up. In this case, sphinx-autogen returns a TemplateNotFound
exception. I'm not sure why this fails, since I have other html templates
loading.
Another technique might be doing a recursive stub page generation. Is this
possible? The note at the bottom of
http://sphinx.pocoo.org/ext/autosummary.htm indicates as much, without being
explicate on you would exactly do this.
Thanks for any help,
Casey
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.