-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 14.05.2010 19:00, schrieb Jeff McKenna:
> (again trying to send this message below. Can someone reply to this
> list that you receive this message? thanks)
>
>
> Hello list,
>
> I have created a sidebar template that contains several links, using the
> "block sidebartoc" successfully. It is working great (see the left
> sidebar on here, i've added the "Community", "Development",
> "Documentation" etc links, http://www.mapserver.org/trunk/en/index.html).
>
> But my problem is that I want to remove the "Table of Contents" section
> at the bottom of that left sidebar.
>
> I am using Sphinx 0.6.5
>
> On that opening index page, there is no mention of a toctree directive,
> yet a Table of Contents appears in the sidebar. How do I remove it? I
> have tried ".. toctree:: :hidden:" unsuccessfully.
Hi Jeff,
you should be able to set
{% set sidebartoc = false %}
somewhere in your template, e.g. before calling {{ super() }} in the
sidebartoc block. (Alternately, you could also just not call super(),
but that's somewhat bad style.)
cheers,
Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
iEYEARECAAYFAkv5XZAACgkQN9GcIYhpnLA1rgCgjldg5pbjwTi9vyuVwksBOBnc
dNoAn0JAtOcSqqk6aZnfBY4+FK2Hip8K
=lYRk
-----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.