mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Prior to this the depth of the bookmarks is too low, one does not even get to see for example what are the built-in extensions offered by Sphinx. Similarly the LaTeX created table of contents has not enough depth. Dozens of contiguous pages from our documentation get only a single link, it is very hard for newcomer to get some feeling of the scope of Sphinx. With a more detailed table of contents (be it inside the PDF or via the collapsable bookmark panel of PDF viewer) learning Sphinx is easier.
17 lines
229 B
ReStructuredText
17 lines
229 B
ReStructuredText
:tocdepth: 1
|
|
|
|
.. default-role:: any
|
|
|
|
.. _changes:
|
|
|
|
=========
|
|
Changelog
|
|
=========
|
|
|
|
.. raw:: latex
|
|
|
|
\hypersetup{bookmarksdepth=1}% pdf bookmarks
|
|
\addtocontents{toc}{\protect\setcounter{tocdepth}{1}}%
|
|
|
|
.. include:: ../CHANGES
|