[Python-checkins] r81939 - python/trunk/Doc/documenting/markup.rst
georg.brandl
python-checkins at python.org
Sat Jun 12 11:45:01 CEST 2010
Author: georg.brandl
Date: Sat Jun 12 11:45:01 2010
New Revision: 81939
Log:
Use newer toctree syntax.
Modified:
python/trunk/Doc/documenting/markup.rst
Modified: python/trunk/Doc/documenting/markup.rst
==============================================================================
--- python/trunk/Doc/documenting/markup.rst (original)
+++ python/trunk/Doc/documenting/markup.rst Sat Jun 12 11:45:01 2010
@@ -698,10 +698,10 @@
.. toctree::
:maxdepth: 2
- intro.rst
- strings.rst
- datatypes.rst
- numeric.rst
+ intro
+ strings
+ datatypes
+ numeric
(many more files listed here)
This accomplishes two things:
@@ -709,8 +709,8 @@
* Tables of contents from all those files are inserted, with a maximum depth
of two, that means one nested heading. ``toctree`` directives in those
files are also taken into account.
- * Sphinx knows that the relative order of the files ``intro.rst``,
- ``strings.rst`` and so forth, and it knows that they are children of the
+ * Sphinx knows that the relative order of the files ``intro``,
+ ``strings`` and so forth, and it knows that they are children of the
shown file, the library index. From this information it generates "next
chapter", "previous chapter" and "parent chapter" links.
More information about the Python-checkins
mailing list