summaryrefslogtreecommitdiff
path: root/doc/sphinxext/README.txt
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2009-11-13 18:42:21 +0000
committerPauli Virtanen <pav@iki.fi>2009-11-13 18:42:21 +0000
commit9d48a39d23b507e18ca8fa7c5786b5eaea926d0e (patch)
tree1cba79256dcf51273ad43a88dd8a8393e32e5728 /doc/sphinxext/README.txt
parent66313a336889e2ff898dad34ffae32d928bb2d5b (diff)
downloadnumpy-9d48a39d23b507e18ca8fa7c5786b5eaea926d0e.tar.gz
sphinxext: add numpydoc_show_class_members option (from Michael Droettboom)
Diffstat (limited to 'doc/sphinxext/README.txt')
-rw-r--r--doc/sphinxext/README.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/sphinxext/README.txt b/doc/sphinxext/README.txt
index 96477033b..455a709fb 100644
--- a/doc/sphinxext/README.txt
+++ b/doc/sphinxext/README.txt
@@ -24,3 +24,29 @@ The following extensions are available:
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.