On Thu, Dec 3, 2009 at 12:46 AM, Adam Matan <[email protected]> wrote:
> 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? > You can do this using standard HTML/CSS techniques, so you probably want to create a custom CSS file and maybe a custom Jinja template. (see the Sphinx themeing documentation) > 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. > from the page you referenced: "The special entry name self stands for the document containing the toctree directive." So it sounds like the self directive is behaving correctly. I don't really understand what you want to do here. > Thanks in advance, > Adam > > Kevin Horn -- 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.
