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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to