On 3 March 2010 14:34, Sebastian Schaetz <[email protected]> wrote:
> What I would love is to generate rst code in a string (including my
> custom user data) and simply telling Sphinx to add this rst code to
> the doctree. This would allow me to write small rst templates etc.
If modifying an rst source file before the rst markup is parsed is an
adequate solution, then the "source-read" event may be what you need:
http://sphinx.pocoo.org/ext/appapi.html#event-source-read
--
Fernando Gómez
Biblioteca "Antonio Monteiro"
INMABB (Conicet / Universidad Nacional del Sur)
Av. Alem 1253
B8000CPB Bahía Blanca, Argentina
Tel. +54 (291) 459 5116
http://inmabb.criba.edu.ar/
--
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.