I'm working on an HTML user guide, and I want to be able to maintain a 
reasonable flow in "previous" and "next" while reusing documents in 
multiple toctrees. How can I predict which toctree the system will use to 
calculate the "next" value for a particular file in a particular 
moment/context? 

Is there a way to force a value for "next"? 

So far, I have set it up this way: 
 - My main document has multiple toctrees: 
     - one root toctree which includes all major chapters
     - additional hidden toctrees to prevent the "document does not appear 
in any toctree" warnings when I build
- Other documents include other toctrees, mainly to assemble a content flow 
out of documents that appear in a different order in the main toctree

I noticed that while reading a set of documents from a sub-toctree I was 
fine until I hit the end of that sub-toctree. Then to find a "next" for the 
file, it went to the main document and pulled values from a hidden toctree.

This question 
<https://groups.google.com/forum/#!searchin/sphinx-users/sub$20toctree/sphinx-users/2n1a2FwZ05A/T9cy1wazO9kJ>
 
suggested that there might be a solution involving the .. include directive 
but I'm not sure what the problem or solution was from the posting.

I haven't found much documentation about how sub-toctrees work or how the 
"relations.html" calculation is done. Any hints will be appreciated.

Thanks.

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