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

R. David Murray rdmurray at bitdance.com
Fri Apr 1 18:17:38 CEST 2011


On Fri, 01 Apr 2011 12:47:12 +0200, Georg Brandl <g.brandl at gmx.net> wrote:

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.

Ah, nice.

-- R. David Murray http://www.bitdance.com



More information about the Python-Dev mailing list