summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-06-24 00:25:29 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-06-24 00:25:29 +0300
commitb50659e13775fbf44c5b8f4b1261fc8f46635321 (patch)
tree72ebb7df8bd6f311a7239f1f4390e8cc4e38477a
parentbeb94b6efc094be4788f38b6b5e3b9c6da72b292 (diff)
downloadmicropython-b50659e13775fbf44c5b8f4b1261fc8f46635321.tar.gz
micropython-b50659e13775fbf44c5b8f4b1261fc8f46635321.zip
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.
-rwxr-xr-xdocs/conf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 8fb53e890c..b06ee8a8a5 100755
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -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