mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Include subsections in TOC for PDF version of docs. (GH-9629)
This commit is contained in:
parent
af5ee3ff61
commit
a4ba8a3983
2 changed files with 2 additions and 0 deletions
|
@ -127,6 +127,7 @@ latex_elements['preamble'] = r'''
|
|||
}
|
||||
\let\Verbatim=\OriginalVerbatim
|
||||
\let\endVerbatim=\endOriginalVerbatim
|
||||
\setcounter{tocdepth}{2}
|
||||
'''
|
||||
|
||||
# The paper size ('letter' or 'a4').
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue