From a4ba8a3983356fceb4aedabe0c338180666a79aa Mon Sep 17 00:00:00 2001 From: Cheryl Sabella Date: Tue, 18 Feb 2020 18:01:15 -0500 Subject: Include subsections in TOC for PDF version of docs. (GH-9629) --- Doc/conf.py | 1 + Misc/NEWS.d/next/Documentation/2018-09-28-18-13-08.bpo-9056.-sFOwU.rst | 1 + 2 files changed, 2 insertions(+) create mode 100644 Misc/NEWS.d/next/Documentation/2018-09-28-18-13-08.bpo-9056.-sFOwU.rst 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'). 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 0000000..98e1c28 --- /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. -- cgit v0.12