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