On 27.11.2017 19:21, ryanwist wrote:
> Given this:
> 
>    Main
>    ####
> 
>    Subhead1
>    ++++++++
>    
>    .. toctree::
>    
>       Subhead2
>       Subhead3
>       
>    Subhead4
>    ++++++++
> 
> 
> I'd like to get this:
> 
>    Main
>      - Subhead1
>      - Subhead2
>      - Subhead3
>      - Subhead4
>   
> but, understandably, I get this:
> 
>    Main
>      - Subhead1
>        - Subhead2
>        - Subhead3
>      - Subhead4
>   
> Is there a way to break the context of "Subhead2" in the rst such that
> the toctree contents are identified as siblings of "Subhead1" rather
> than as children?

I am not aware of such a possibility.

If you include a file with toctree the headlines of the included file
are always one level lower.

juh

-- 
Software-Dokumentation mit Sphinx
http://www.amazon.de/dp/1497448689/
Paperback: 224 Seiten

-- 
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 https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to