From: Fred Drake Date: Fri, 24 Jul 1998 13:54:29 +0000 (+0000) Subject: Reduce the number of levels in the Table of Contents by one, mostly for the X-Git-Tag: v1.5.2a1~244 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=889f53d4e0c3b701d5de0892a0ab8caabeb689b8;p=python Reduce the number of levels in the Table of Contents by one, mostly for the Python Library Reference. The other manuals do not suffer. This does not affect HOWTO documents. --- diff --git a/Doc/texinputs/manual.cls b/Doc/texinputs/manual.cls index fe7e3efb4f..21e74c9b19 100644 --- a/Doc/texinputs/manual.cls +++ b/Doc/texinputs/manual.cls @@ -132,6 +132,7 @@ % \renewcommand*\l@section{\@dottedtocline{1}{1.5em}{2.6em}} \renewcommand*\l@subsection{\@dottedtocline{2}{4.1em}{3.5em}} +\setcounter{tocdepth}{1} % Fix the theindex environment to add an entry to the Table of