docs/conf.py: Include 3 levels of ToC in latexpdf output.

Instead of default 2. 3 are required to access description of individual
library modules.
This commit is contained in:
Paul Sokolovsky 2017-06-24 00:25:29 +03:00
parent beb94b6efc
commit b50659e137
1 changed files with 2 additions and 0 deletions

View File

@ -246,6 +246,8 @@ latex_elements = {
# Additional stuff for the LaTeX preamble.
#'preamble': '',
# Include 3 levels of headers in PDF ToC
'preamble': '\setcounter{tocdepth}{2}',
}
# Grouping the document tree into LaTeX files. List of tuples