Skip to content

Commit b50659e

Browse files
committed
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.
1 parent beb94b6 commit b50659e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@
246246

247247
# Additional stuff for the LaTeX preamble.
248248
#'preamble': '',
249+
# Include 3 levels of headers in PDF ToC
250+
'preamble': '\setcounter{tocdepth}{2}',
249251
}
250252

251253
# Grouping the document tree into LaTeX files. List of tuples

0 commit comments

Comments
 (0)