tweak sphinx config that PDF and HTML manual have the same chapter numbers
This commit is contained in:
@ -327,6 +327,7 @@ latex_elements = {
|
||||
% Make ToC number fields wider to accommodate sections with >= 100 subsections
|
||||
% or >= 10 subsections with >= 10 subsubsections
|
||||
\makeatletter
|
||||
\@addtoreset{chapter}{part}
|
||||
\renewcommand*{\sphinxtableofcontentshook}{%
|
||||
\renewcommand*\l@section{\@dottedtocline{1}{1.5em}{3.1em}}
|
||||
\renewcommand*\l@subsection{\@dottedtocline{2}{4.6em}{4.5em}}
|
||||
|
||||
Reference in New Issue
Block a user