mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
[DOC] Avoid collisions in TOC of sphinx.pdf in Changelog chapter
Relates #10858
This commit is contained in:
parent
0273e68974
commit
464d0815e9
@ -11,5 +11,10 @@ Changelog
|
||||
.. raw:: latex
|
||||
|
||||
\addtocontents{toc}{\protect\setcounter{tocdepth}{1}}%
|
||||
\makeatletter
|
||||
\addtocontents{toc}{\def\string\l@section{\string\@dottedtocline{1}{1.5em}{3.3em}}}
|
||||
\addtocontents{toc}{\def\string\l@subsection{\string\@dottedtocline{2}{4.8em}{4em}}}
|
||||
\makeatother
|
||||
|
||||
|
||||
.. include:: ../CHANGES
|
||||
|
Loading…
Reference in New Issue
Block a user