gsever schrieb:
> Hello,
> 
> Here is an excerpt from matplotlib doc's pyplot_api.rst
> 
>  .. automodule:: matplotlib.pyplot
>    :members:
>    :undoc-members:
>    :show-inheritance:
> 
> 
> What I want to do is, make each member function shown as a subsection
> so that I can easily browse/look up the name in the final pdf
> documentation.
> 
> I tried as given below, but unfortunately gotten multiple loading
> error.
> 
> acorr
> ======================
> .. automodule:: matplotlib.pyplot
>    :members: acorr
> 
> annotate
> ======================
> ..automodule:: matplotlib.pyplot
>   :members: annotate
> 
> 
> Any ideas on this?

One possibility would be to use

.. module:: matplotlib.pyplot

acorr
=====

.. autofunction:: acorr

annotate
========

.. autofunction:: annotate


On the other hand, IIRC Numpy does something like this automatically.  Maybe
someone can be a bit more specific there :)

Georg

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to