On Fri 4 03:58:19 daspostloch wrote: > Hm, just a guess, but have you tried > the toctree directive before your > > > Contents > > ======== > > headline? > > Best, Paul > > On 03/03/2011 05:10 PM, Jeffrey Barish wrote: > > My contents.rst looks something like > > > > Contents > > ======== > > > > .. toctree:: > > :maxdepth: 3 > > > > page1 > > page2 > > > > When I am at the ToC, Next topic is page1, as expected. However, when I > > go to page1, previous topic is<no title> (which does link to ToC). > > Also, on page2 there is a link to Table Of Contents at the top of the > > panel on the left, but on page1 there is not. Any idea what I am doing > > wrong?
Actually, it seems that Sphinx will not generate a ToC for the page unless there is a hierarchy of sections on the page. I solved the problem by putting a title and a section on the page (I had only the title originally). The requirement makes some sense -- why have a ToC for the page if it is one block of text? -- but it's a little strange because the ToC heading is also a link to the ToC for the entire document. Anyway, problem solved. -- Jeffrey Barish -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@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.