diff options
Diffstat (limited to 'doc/markup/toctree.rst')
-rw-r--r-- | doc/markup/toctree.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/markup/toctree.rst b/doc/markup/toctree.rst index b4c7105fd..a0161ee3c 100644 --- a/doc/markup/toctree.rst +++ b/doc/markup/toctree.rst @@ -123,6 +123,16 @@ tables of contents. The ``toctree`` directive is the central element. toctree directive. This is useful if you want to generate a "sitemap" from the toctree. + You can use the ``reversed`` flag option to reverse the order of the entries + in the list. This can be useful when using the ``glob`` flag option to + reverse the ordering of the files. Example:: + + .. toctree:: + :glob: + :reversed: + + recipe/* + You can also give a "hidden" option to the directive, like this:: .. toctree:: |