Hi, On Mon, Jan 4, 2010 at 2:32 PM, Edward Z. Yang <[email protected]> wrote: > > > My impression is that this should happen by default. You are using the > autodoc sphinx extension, correct?
no, we have in ipython our own little script that auto-generates reST files for all the IPython tree (I've posted it here before since some people have wanted to have full API doc generation). The snippet it produces looks like this: .. AUTO-GENERATED FILE -- DO NOT EDIT! core.application ================ Module: :mod:`core.application` ------------------------------- Inheritance diagram for ``IPython.core.application``: .. inheritance-diagram:: IPython.core.application :parts: 3 .. automodule:: IPython.core.application .. currentmodule:: IPython.core.application Classes ------- :class:`Application` ~~~~~~~~~~~~~~~~~~~~ .. autoclass:: Application :members: :undoc-members: :show-inheritance: :inherited-members: .. automethod:: __init__ ### ETC... That 'Application' class is the one where I tried using #: comments and failed. Since I control that script, I can make it generate anything I want; is there something I can add to that so #: works? Thanks for any help, f -- 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.
