summaryrefslogtreecommitdiff
path: root/doc/ext/appapi.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-04-17 10:39:51 +0200
committerGeorg Brandl <georg@python.org>2010-04-17 10:39:51 +0200
commit22ac79e1af541e66b002ba35f1cd902a91cceb88 (patch)
tree65279525ae9619d532d21ee67d6bc8c5b9727d38 /doc/ext/appapi.rst
parentea85d7fb1fdad1fbac214c2653daf388738c3935 (diff)
downloadsphinx-22ac79e1af541e66b002ba35f1cd902a91cceb88.tar.gz
Use the new rst domain in the sphinx docs.
Diffstat (limited to 'doc/ext/appapi.rst')
-rw-r--r--doc/ext/appapi.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/ext/appapi.rst b/doc/ext/appapi.rst
index cfdaaaa8..402dd72f 100644
--- a/doc/ext/appapi.rst
+++ b/doc/ext/appapi.rst
@@ -121,7 +121,7 @@ the following public API:
instead which does the right thing even on docutils 0.4 (which doesn't
support directive classes otherwise).
- For example, the (already existing) :dir:`literalinclude` directive would be
+ For example, the (already existing) :rst:dir:`literalinclude` directive would be
added like this:
.. code-block:: python
@@ -188,13 +188,13 @@ the following public API:
you can use this markup in your documents::
- .. directive:: function
+ .. rst:directive:: function
Document a function.
<...>
- See also the :dir:`function` directive.
+ See also the :rst:dir:`function` directive.
For the directive, an index entry will be generated as if you had prepended ::
@@ -218,7 +218,7 @@ the following public API:
directive it generates must be empty, and will produce no output.
That means that you can add semantic targets to your sources, and refer to
- them using custom roles instead of generic ones (like :role:`ref`). Example
+ them using custom roles instead of generic ones (like :rst:role:`ref`). Example
call::
app.add_crossref_type('topic', 'topic', 'single: %s', docutils.nodes.emphasis)