diff options
| author | EricFromCanada <eric3knibbe@gmail.com> | 2014-06-18 11:53:25 -0400 |
|---|---|---|
| committer | EricFromCanada <eric3knibbe@gmail.com> | 2014-06-18 11:53:25 -0400 |
| commit | da0ebb546f478c24f606c119a5ea0cb3ead22f7c (patch) | |
| tree | 1b8e40534c1346be43589deb88a8ecea48f1348e /doc/extdev | |
| parent | 5a6d521f8de9a38f37a1b57e9efcc897e2bfc5c9 (diff) | |
| download | sphinx-da0ebb546f478c24f606c119a5ea0cb3ead22f7c.tar.gz | |
rewrapping paragraphs when over 80 characters wide
Diffstat (limited to 'doc/extdev')
| -rw-r--r-- | doc/extdev/appapi.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/extdev/appapi.rst b/doc/extdev/appapi.rst index 4edab5db..1a0b95bf 100644 --- a/doc/extdev/appapi.rst +++ b/doc/extdev/appapi.rst @@ -131,8 +131,8 @@ package. The directive class must inherit from the class ``docutils.parsers.rst.Directive``. - For example, the (already existing) :rst:dir:`literalinclude` directive would be - added like this: + For example, the (already existing) :rst:dir:`literalinclude` directive would + be added like this: .. code-block:: python @@ -232,8 +232,8 @@ package. 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 :rst:role:`ref`). Example - call:: + 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) |
