summaryrefslogtreecommitdiff
path: root/doc/builders.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-01-15 00:00:37 +0100
committerGeorg Brandl <georg@python.org>2010-01-15 00:00:37 +0100
commit7505ff2a42e72e678495b92f0c0e02d6a009867e (patch)
tree30e0b01a2e8fa298b7196dc6c0a7d4c6b16621e9 /doc/builders.rst
parent2936c97ec0ff8b2690b97a7f3e8cc59912d191b8 (diff)
downloadsphinx-7505ff2a42e72e678495b92f0c0e02d6a009867e.tar.gz
First step toward better handling of doc fields.
Diffstat (limited to 'doc/builders.rst')
-rw-r--r--doc/builders.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/builders.rst b/doc/builders.rst
index fe326c68..0d1c1351 100644
--- a/doc/builders.rst
+++ b/doc/builders.rst
@@ -292,3 +292,23 @@ The special files are located in the root output directory. They are:
Unlike the other pickle files this pickle file requires that the sphinx
module is available on unpickling.
+
+
+.. class:: Blah
+
+ :param app: the Sphinx application object
+ :type app: sphinx.builders.Builder
+ :param what: the type of the object which the docstring belongs to (one of
+ ``"module"``, ``"class"``, ``"exception"``, ``"function"``, ``"method"``,
+ ``"attribute"``)
+ :param name: the fully qualified name of the object
+ :param obj: the object itself
+ :param options: the options given to the directive: an object with attributes
+ ``inherited_members``, ``undoc_members``, ``show_inheritance`` and
+ ``noindex`` that are true if the flag option of same name was given to the
+ auto directive
+ :param lines: the lines of the docstring, see above
+ :raises foo: why?
+ :raises sphinx.builders.Builder: why not...
+ :returns: me
+ :rtype: sphinx.builders.Builder