Cheers - just .. Contents:: works for me. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of TP Sent: 28 September 2010 12:26 To: [email protected] Subject: Re: [sphinx-dev] accessing global variables like 'toc'
On Mon, Sep 27, 2010 at 4:14 AM, Alastair Dent <[email protected]> wrote: > In some html files I'd like to place a local toc. The variable 'toc' > would seem to do the trick, but how do I insert it? > Should I define a block in the layout.html? > > -- > You received this message because you are subscribed to the Google > Groups "sphinx-dev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sphinx-dev?hl=en. > I just do: .. contents:: :local: for more info see http://sphinx.pocoo.org/rest.html?highlight=contents#directives and http://docutils.sourceforge.net/docs/ref/rst/directives.html#table-of-co ntents -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en. -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
