Hi everybody.
I'm trying to make the scikit-learn.org website a bit easier to navigate.
We usually use the standard sidebar, the content of which is generated using the ``toc`` variable. For pages that only contain the definition of toctrees (for example http://scikit-learn.org/dev/user_guide.html)
the ``toc`` variable seems to be empty.

Is there a way to generate a sidebar containing all the sub-toctrees of a page? I know about the ``toctree()`` function, but that gives me a tree from the main page. I'd rather like to have
a list of all the content below the current page.

I think I know how to generate such a menu in rst, but I'm not sure if there is a way to render a rst as the sidebar.

Any help or pointers to the relevant documentation would be much appreciated.

Cheers,
Andy

--
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to