Hello,

I'm trying to generate a document with the following hierarchy:

root
    tutorial
        introduction
        t1
        t2
    examples
        ..


However, I want the toc (i.e. generated menu) to look like this:

tutorial
    t1
    t2
examples
    ...

i.e. the "introduction" section is part of the "tutorial" page, and
thus doesn't get a separate toc entry.

I have tried to write the "introduction" as a distinct source file,
inserting a toctree directive to add the sections "t1" and "t2". This
works fine if I insert the toctree directive at the beginning.
However, since I want "t1" and "t2" to appear after the introduction,
I'd need to insert the toctree at the end of the file.

That, however, seems to be impossible, since there is no "section end"
markup that lets me express that the directive should be a child of
the "tutorial" chapter, rather than a child of the last subsection in
it.

Is there a way to get what I want ?

Many thanks,
       Stefan

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to