awips2/pythonPackages/scipy/doc/sphinxext
root 9f19e3f712 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00
..
tests Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
__init__.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
autosummary.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
autosummary_generate.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
comment_eater.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
compiler_unparse.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
docscrape.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
docscrape_sphinx.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
LICENSE.txt Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
MANIFEST.in Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
numpydoc.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
only_directives.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
phantom_import.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
plot_directive.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
README.txt Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
setup.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00
traitsdoc.py Initial revision of AWIPS2 11.9.0-7p5 2012-01-06 08:55:05 -06:00

=====================================
numpydoc -- Numpy's Sphinx extensions
=====================================

Numpy's documentation uses several custom extensions to Sphinx.  These
are shipped in this ``numpydoc`` package, in case you want to make use
of them in third-party projects.

The following extensions are available:

  - ``numpydoc``: support for the Numpy docstring format in Sphinx, and add
    the code description directives ``np-function``, ``np-cfunction``, etc.
    that support the Numpy docstring syntax.

  - ``numpydoc.traitsdoc``: For gathering documentation about Traits attributes.

  - ``numpydoc.plot_directives``: Adaptation of Matplotlib's ``plot::``
    directive. Note that this implementation may still undergo severe
    changes or eventually be deprecated.

  - ``numpydoc.only_directives``: (DEPRECATED)

  - ``numpydoc.autosummary``: (DEPRECATED) An ``autosummary::`` directive.
    Available in Sphinx 0.6.2 and (to-be) 1.0 as ``sphinx.ext.autosummary``,
    and it the Sphinx 1.0 version is recommended over that included in
    Numpydoc.


numpydoc
========

Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings
following the Numpy/Scipy format to a form palatable to Sphinx.

Options
-------

The following options can be set in conf.py:

- numpydoc_use_plots: bool

  Whether to produce ``plot::`` directives for Examples sections that
  contain ``import matplotlib``.

- numpydoc_show_class_members: bool

  Whether to show all members of a class in the Methods and Attributes
  sections automatically.

- numpydoc_edit_link: bool  (DEPRECATED -- edit your HTML template instead)

  Whether to insert an edit link after docstrings.