That was _exactly_ what I was looking for.  Thanks!

Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org


On 7/26/2010 11:14 AM, Jacob Kaplan-Moss wrote:
On Mon, Jul 26, 2010 at 9:50 AM, Mike Pumphrey<[email protected]>  wrote:
Hi there.  Is there a way to use substitution in a code block?  For example:

"""

#. Type in the following command::

      ./home/user/somecommand-|version|

"""

The |version| command only appears to work when it's not inside a code
block, as far as I can tell.  What would be the best way to do this?

I think [1] you should be able to use the ``parsed-literal`` directive
for this::

     Type in the following command:

     .. parsed-literal::

         ./home/user/somecommand-|version|

Jacob

[1] At least, it works in plain reST; I assume it works in Sphinx.


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