I had a thought (wow).

In your original question, you wanted a sidebar toc that displayed a
list for a sub-grouping of docs.

Can you build each sub-group of docs separately, then just combine the
files?  You would need a 'master' grouping as well, to give you an
overall toc/sitemap.

So your dir structure might be like this:

Root/ <main intro section with toc>
        Doc1 <with conf.py etc>
        Doc2 <with conf.py etc>

So you would build doc1, doc2 and root.  Doc1 output would have the toc
for all of the doc1 grouping. Doc2 the same. Root would have a toc
pointing to doc1 and doc2

Copy all build files to same location.

-----Original Message-----
From: sphinx-dev@googlegroups.com [mailto:sphinx-...@googlegroups.com]
On Behalf Of andreash
Sent: 11 August 2010 23:25
To: sphinx-dev
Subject: [sphinx-dev] Re: modifications to the toctree() template

you're right, basic theme uses globaltoc.html template. but the code
in there just calls the toctree() template function. which I also do.
my question goes beyond that.

my system doesn't seem to know any localtoc() function.

where can i see which functions are available in the template, and how
to use them?

thanks for your insight :)


You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to