summaryrefslogtreecommitdiffstats
path: root/Doc/conf.py
diff options
context:
space:
mode:
authorCheryl Sabella <cheryl.sabella@gmail.com>2020-02-18 23:01:15 (GMT)
committerGitHub <noreply@github.com>2020-02-18 23:01:15 (GMT)
commita4ba8a3983356fceb4aedabe0c338180666a79aa (patch)
tree21acaeee790731879b457e9956ad639ecc8b7e54 /Doc/conf.py
parentaf5ee3ff610377ef446c2d88bbfcbb3dffaaf0c9 (diff)
downloadcpython-a4ba8a3983356fceb4aedabe0c338180666a79aa.zip
cpython-a4ba8a3983356fceb4aedabe0c338180666a79aa.tar.gz
cpython-a4ba8a3983356fceb4aedabe0c338180666a79aa.tar.bz2
Include subsections in TOC for PDF version of docs. (GH-9629)
Diffstat (limited to 'Doc/conf.py')
-rw-r--r--Doc/conf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/conf.py b/Doc/conf.py
index abaa760..32db343 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -127,6 +127,7 @@ latex_elements['preamble'] = r'''
}
\let\Verbatim=\OriginalVerbatim
\let\endVerbatim=\endOriginalVerbatim
+\setcounter{tocdepth}{2}
'''
# The paper size ('letter' or 'a4').