Not sure if I'm asking this correctly, so let me know if I'm confusing 
things.

Say I have 3 "chapters" inside 3 docs:

   index
       Doc1
           Doc1Section1
           Doc1Section2
           Doc1Section3
       Doc2
           Doc2Section1
           Doc2Section2
           Doc2Section3
       Doc3
           Doc3Section1
           Doc3Section2
           Doc3Section3

How do I move the sections into separate documents and still keep the 
hierarchy? Say I move the sections from document 1 into separate files 
(File is getting to long currently, or I expect each section to be too long 
to be comfortable in a single file as I progress)...

I use this index.rst:

.. toctree::
>    :maxdepth: 2
>    intro/intro
>    intro/description
>    intro/overview
>    intro/software
>    setup/setup
>    usage/usage
>    
>    examples/~sample1
>    examples/~sample2


And I end up with this incorrect layout:

       Doc1
>        Doc1.1
>        Doc1.2
>        Doc1.3
>        Doc2
>            SectionInsideDoc2
>            SectionInsideDoc2
>            SectionInsideDoc2
>        Doc3
>            SectionInsideDoc3
>            SectionInsideDoc3
>            SectionInsideDoc3


How do I tell the toctree that Doc1.1/2/3 are "children" of Doc1 and need 
to be laid out accordingly in the Index?

I know it's got to be something simple that I'm missing.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to