diff options
| author | Cheryl Sabella <cheryl.sabella@gmail.com> | 2020-02-18 18:01:15 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-19 00:01:15 +0100 |
| commit | a4ba8a3983356fceb4aedabe0c338180666a79aa (patch) | |
| tree | 21acaeee790731879b457e9956ad639ecc8b7e54 | |
| parent | af5ee3ff610377ef446c2d88bbfcbb3dffaaf0c9 (diff) | |
| download | cpython-git-a4ba8a3983356fceb4aedabe0c338180666a79aa.tar.gz | |
Include subsections in TOC for PDF version of docs. (GH-9629)
| -rw-r--r-- | Doc/conf.py | 1 | ||||
| -rw-r--r-- | Misc/NEWS.d/next/Documentation/2018-09-28-18-13-08.bpo-9056.-sFOwU.rst | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Doc/conf.py b/Doc/conf.py index abaa760c98..32db34344a 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'). diff --git a/Misc/NEWS.d/next/Documentation/2018-09-28-18-13-08.bpo-9056.-sFOwU.rst b/Misc/NEWS.d/next/Documentation/2018-09-28-18-13-08.bpo-9056.-sFOwU.rst new file mode 100644 index 0000000000..98e1c286e8 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2018-09-28-18-13-08.bpo-9056.-sFOwU.rst @@ -0,0 +1 @@ +Include subsection in TOC for PDF version of docs. |
