diff options
author | Cheryl Sabella <cheryl.sabella@gmail.com> | 2020-02-18 23:01:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-18 23:01:15 (GMT) |
commit | a4ba8a3983356fceb4aedabe0c338180666a79aa (patch) | |
tree | 21acaeee790731879b457e9956ad639ecc8b7e54 /Doc/conf.py | |
parent | af5ee3ff610377ef446c2d88bbfcbb3dffaaf0c9 (diff) | |
download | cpython-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.py | 1 |
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'). |