this is a super old convo but did you ever find a solution to this? I'm 
trying to make a collapsable Hierarchical tree of my website for the 
sidebar. I know I will have to write html etc. for the collapsible part. 
I'm currently just trying to get sphinx to put the whole toctree in the 
sidebar uncollapsed.

On Thursday, August 12, 2010 at 1:56:32 AM UTC-7, Alastair Dent wrote:
>
> 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>
>                 \doc1.1
>         Doc2 <with conf.py etc>
>                 \doc2.1
>
> 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: [email protected] <javascript:> [mailto:
> [email protected] <javascript:>]
> On Behalf Of andreash
> Sent: 11 August 2010 23:25
> To: sphinx-dev
> Subject: [sphinx-dev] Re: modifications to the toctree() template
> function
>
> 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 :)
>
> a
>
>

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