Hi all,

Here's my problem.

I have a python program which generate a substitution.txt file, here's
a minimalistic example :

---------------------
.. |webserver_conf_file| replace:: ../../parts/webserver/
webserver.conf
---------------------

Now in my webserver.rst file I would like to include this file with
the literalinclude directive in such a way:

---------------------
.. include:: substitutions.txt

Webserver
=========

here's the configuration file

.. literalinclude:: |webserver_conf_file|
---------------------

Unfortunatly it does not work that way :-(

Is there a workaround to do it?
Thanks for your replies

-- 
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.

Reply via email to