On 2011-04-10, Tim Martin wrote: > Hi, > I'm trying to generate documentation that fits in with my company's > documentation standard, which requires:
><h1>Main title</h1> ><p>Some boring generated text</p> ><h2>Section1</h2> ><h2>Section 2</h2> > etc... > I can't see a way to generate the h1 and h2 headings from ReST but > insert the standard generated text into it (without having that text > repeated in every ReST file). The include__ directive is your friend here. __ http://docutils.sourceforge.net/docs/ref/rst/directives.html#including-an-external-document-fragment Günter -- 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.