Wow -- it works! Thank You. On Thursday, December 20, 2012 6:05:06 PM UTC+4, TP wrote: > > On Thu, Dec 20, 2012 at 4:30 AM, Boris Kheyfets > <[email protected]<javascript:>> > wrote: > > I'd like to have > > > > :maxdepth: 1 at sidebar ToC, and > > :maxdepth: 2 at index.rst > > > > Is there a way I can get it? > > Create a new theme and add copy of sphinx\themes\basic\globaltoc.html, > but change : > > {{ toctree() }} > > to something like: > > {{ toctree(maxdepth=1) }} > > See [1] for more info. > > [1] http://sphinx-doc.org/templating.html#toctree >
-- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users?hl=en.
