Thanks a lot! Both tricks work.

Any idea how to change the background of the TOC created by " ..
contents::"?

Adam

On Jan 3, 5:23 pm, Georg Brandl <[email protected]> wrote:
> Am 03.12.2009 07:46, schrieb Adam Matan:
>
> > Hi,
>
> > Two question which Google search didn't solve:
>
> > 1. How can I make the sidebar "float", i.e. be accessible when
> > scrolling down? Is there a way to control the hierarchy depth
> > displayed in it?
>
> Put
>
> html_theme_options = {'stickysidebar': 'true'}
>
> in conf.py.
>
> > 2. I want to display the TOC of the page at its top using the self
> > directive (search "sitemap" here -http://sphinx.pocoo.org/concepts.html).
> > However, the "self" directive only displays the page title, not its
> > contents. I have tries to play (or even omit) the maxdepth directive,
> > without results.
>
> I think you want the (standard docutils)
>
> .. contents::
>
> directive.  Toctree is meant to link several files, while this one is
> local to the current file.
>
> cheers,
> Georg
>
>  signature.asc
> < 1KViewDownload

--

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.


Reply via email to