[Python-Dev] devguide: Add a table of contents to the FAQ.

Georg Brandl g.brandl at gmx.net
Fri Apr 1 12:47:12 CEST 2011


Am 01.04.2011 01:12, schrieb R. David Murray:
> On Fri, 01 Apr 2011 08:29:29 +1000, Nick Coghlan <ncoghlan at gmail.com> wrote:
>> On Fri, Apr 1, 2011 at 2:34 AM, R. David Murray <rdmurray at bitdance.com> wro=
>> te:
>> > I agree with this point. =A0The sidebar list of questions is effectively
>> > useless.
>> 
>> Indeed. If it's simple, I'd actually be inclined to reduce the depth
>> of the sidebar in this case to only show the categories and not the
>> individual questions.
> 
> I believe that requires editing the sphinx page template and adding
> a special case of some sort.

Use

:tocdepth: x

at the top of the rst file.

Georg



More information about the Python-Dev mailing list