Hi all,

In our documentation we have several top-level subjects. Each of these 
subjects is quite large so we have tried splitting up a top-level subject's 
file into separate files. This works, but leads to several top-level items 
in the ToC.

Is there a way to create more hierarchy in the ToC when using multiple 
files? Like this

index.rst
someChapter/introduction.rst
someChapter/settings.rst
someOtherChapter/section1.rst

Could lead to a ToC like this:

* Index
> * someChapter
>   * Introduction
>   * Settings
> * someOtherChapter
>   * section1


Currently that structure will result in the following ToC:

* Index

* someChapter
> * Introduction
> * Settings
> * someOtherChapter
> * section1


Additionally, we would like to be able to show fold-out all the nodes in 
the path to the parent node from the active node. E.g. when the user visits 
someOtherChapter/section1 the ToC looks as follows:

* Index
> * someChapter
> * someOtherChapter
>   * section1


Whereas, when the user visits someChapter/settings the  ToC would look as 
follows:

* Index
> * someChapter
>   * Introduction
>   * Settings
> * someOtherChapter


Is there some way to achieve this (already)? Or what would be the best part 
to modify or add code to in order to achieve this?

With kind regards,
Alessandro Vermeulen

-- 
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 sphinx-users+unsubscr...@googlegroups.com.
To post to this group, send email to sphinx-users@googlegroups.com.
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