-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Are you sure you put ":tocdepth: 2" at the *top* of the *file*?

Georg

Am 10.01.2011 17:20, schrieb Eric Gilmore:
> Georg, I tried that, and it only affected the TOC tree in the index page -- 
> not
> the side bar. 
> 
> *Should* that setting affect the side bar as well, and there is something 
> wrong
> with my setup?
> 
> The "stickysidebar" setting does basically solve my problem of long parameters
> spilling over.  But I'm still curious about controlling the depth of the side 
> bar.
> 
> Thanks very much for your attention to my message :)
> 
> On Sat, Jan 8, 2011 at 3:37 PM, Georg Brandl <ge...@python.org
> <mailto:ge...@python.org>> wrote:
> 
> Am 23.12.2010 19:40, schrieb Gilmorez:
>> It is very easy to set the depth of the TOC on an index page, and that
>> is very handy.
> 
>> So far, in my attempts to figure out how to do the same for the
>> sidebar TOC, I'm finding it difficult.
> 
>> We are using localtoc, and I would like to limit it to two levels so
>> that long parameter and class names in our documentation do not appear
>> there and spill over into the main frame.
> 
>> If anyone can point me in the right direction on how to control that,
>> it is much much appreciated.
> 
> You can do this by putting this at the top of the file:
> 
> :tocdepth: 2
> 
> 
> cheers,
> Georg

- --
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com
<mailto:sphinx-dev@googlegroups.com>.
To unsubscribe from this group, send email to
sphinx-dev+unsubscr...@googlegroups.com
<mailto:sphinx-dev%2bunsubscr...@googlegroups.com>.
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.




> -- 
> *Eric Gilmore
> *
> Consulting Technical Writer
> Riptano, Inc.
> Ph: 510 684 9786  (cell)

> -- 
> You received this message because you are subscribed to the Google Groups
> "sphinx-dev" group.
> To post to this group, send email to sphinx-...@googlegroups.com.
> To unsubscribe from this group, send email to
> sphinx-dev+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sphinx-dev?hl=en.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk0rXP4ACgkQN9GcIYhpnLBn7wCeJZ0Wh9x36xtXnyD0jtlZiec+
kPMAoJKsPxpm+K4kf9+8Z/GOcTmEKMgj
=bOTT
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to