summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/conf.py1
-rw-r--r--Misc/NEWS.d/next/Documentation/2018-09-28-18-13-08.bpo-9056.-sFOwU.rst1
2 files changed, 2 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').
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.