Skip to content

Commit

Permalink
[DOC] Avoid collisions in TOC of sphinx.pdf in Changelog chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
jfbu committed Sep 24, 2022
1 parent 0273e68 commit 464d081
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/changes.rst
Expand Up @@ -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

0 comments on commit 464d081

Please sign in to comment.