Explain absolute paths in toctree.

This commit is contained in:
Georg Brandl
2010-05-30 11:58:42 +02:00
parent fd070fccc0
commit aaa89cbb24

View File

@@ -15,9 +15,10 @@ tables of contents. The ``toctree`` directive is the central element.
This directive inserts a "TOC tree" at the current location, using the
individual TOCs (including "sub-TOC trees") of the documents given in the
directive body (whose path is relative to the document the directive occurs
in). A numeric ``maxdepth`` option may be given to indicate the depth of the
tree; by default, all levels are included. [#]_
directive body. Relative document names (not beginning with a slash) are
relative to the document the directive occurs in, absolute names are relative
to the source directory. A numeric ``maxdepth`` option may be given to
indicate the depth of the tree; by default, all levels are included. [#]_
Consider this example (taken from the Python docs' library reference index)::