diff options
| author | Georg Brandl <georg@python.org> | 2009-02-18 00:13:12 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-02-18 00:13:12 +0100 |
| commit | a3fe21ae2e9cf6554a4f3810e46c0eb5af76780e (patch) | |
| tree | 2dc61a45829a2fc73a9d61f3a1ceb1a8c5f55dea /doc/ext/appapi.rst | |
| parent | 02c933497d858c20c6d138106bc76d996b17f4de (diff) | |
| download | sphinx-a3fe21ae2e9cf6554a4f3810e46c0eb5af76780e.tar.gz | |
Add link to docutils directive docs.
Diffstat (limited to 'doc/ext/appapi.rst')
| -rw-r--r-- | doc/ext/appapi.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/ext/appapi.rst b/doc/ext/appapi.rst index 2a487845..aad41e35 100644 --- a/doc/ext/appapi.rst +++ b/doc/ext/appapi.rst @@ -68,13 +68,14 @@ the following public API: * In the docutils 0.4 style, *func* is the directive function. *content*, *arguments* and *options* are set as attributes on the function and determine whether the directive has content, arguments and options, - respectively. For their exact meaning, please consult the Docutils - documentation. + respectively. * In the docutils 0.5 style, *directiveclass* is the directive class. It must already have attributes named *has_content*, *required_arguments*, *optional_arguments*, *final_argument_whitespace* and *option_spec* that - correspond to the options for the function way. + correspond to the options for the function way. See `the Docutils docs + <http://docutils.sourceforge.net/docs/howto/rst-directives.html>`_ for + details. The directive class normally must inherit from the class ``docutils.parsers.rst.Directive``. When writing a directive for usage in |
