andreash schrieb: > Hey there, > > I have a question regarding the .. contents:: directive. > > My document roughly looks as follows: > > > ********** > My Heading > ********** > > .. contents:: Übersicht > > First section > ============= > > First subsection > ---------------- > > Second section > ============== > > The problem is that in the contents, the heading of the document is > also included: > > Übersicht > > * My Heading > o First section > + First subsection > o Second section > > > I think that's not really necessary, since the document is titled My > Heading, and this is very big and visible on the top of the page. > > So my question is: > > How can I tell Sphinx that it shall not display the Heading in the > contents directive?
Use the "local" option: .. contents:: Übersicht :local: cheers, Georg --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
