On Mon, Sep 27, 2010 at 4:14 AM, Alastair Dent <alastair.d...@imgtec.com> 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 sphinx-...@googlegroups.com. > To unsubscribe from this group, send email to > sphinx-dev+unsubscr...@googlegroups.com. > 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-contents -- 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 sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.