Hi,

I try using sphinx for building a static website. I'm struggling to get
a custom TOC-tree, which depends on the document path. I rea through the
documentation but did not find a way. Maybe I missed something.

I want to show only the top-level, the "path" to the current documents
and the current documents siblings. This is how "navigation bars" in
web-sites often work, eg. in Plone.

Is there some extension available to make this work?

Details:

Assume a file structure like this:

index
project1/
    index
    download
project1/
    index
    background/
        index
        some-more       
    references
contact
impressum

My aim is to have the TOC contain

  * in each top-level page: /index, /project1/index, /project2/index,
    /contact, /impressum
  * in /project1/* pages: /index, */project1/**, /project2/index,
    /contact, /impressum
  * in /project2/background/* pages: /index, /project1/index,
    */project2/index, /project2/background/**, /contact, /impressum



-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | [email protected]               |
| www.crazy-compilers.com | compilers which you thought are impossible |

-- 
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