[DOC] Avoid collisions in TOC of sphinx.pdf in Changelog chapter

Relates #10858
This commit is contained in:
Jean-François B 2022-09-24 23:08:25 +02:00
parent 0273e68974
commit 464d0815e9

View File

@ -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