-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 06.03.2010 20:30, schrieb Nikolaus Rath:
> Hello,
>
> I am using
>
> {%- if display_toc %}
> <h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of
> Contents') }}</a></h3>
> {{ toctree() }}
> {%- endif %}
>
> to display a table of contents in my sidebar. However, the contents of
> the active file are always shown with only one sublevel. I tried to
> change the maxdepth field in my master file and to add a maxdepth=2
> keyword option to the toctree call, but the former did nothing and the
> later caused sphinx to crash.
>
> What's the proper way to do this?
Unfortunately nothing in 0.6.x -- a maxdepth argument to toctree() will be
supported in 1.0.
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iEYEARECAAYFAkuUNH8ACgkQN9GcIYhpnLCn2gCgle6gTdruIBUJqGqCEOhtKbog
3oQAn07FVXfA8Xi8lkQZY+exmk98x12d
=c3C+
-----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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.