From: Caplan, Michael <Michael.Caplan@he...> - 2014-06-09 14:34:24
I hope I'm in the right place to be asking this question. I originally posted this question in the Sphinx doc user list, but I think this is a reStructuredText question specifically.
Total newbie question. How can I do a substitution in an admonition?
**Been using |p| separately and now integrating?**
In my sphinx conf.py I define a replacement rule which gets appended to the rst file prior to interpretation (at least that is how I understand it):
rst_epilog = '.. |p| replace:: Labnext'
My first substitution in the paragraph works without fail. However the substitution in the note directive isn't applied. Any work arounds? Is this a quirk of Sphinx?
Please consider the environment before printing this email.
E-mail messages may contain viruses, worms, or other malicious code. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective action against such code. Henry Schein is not liable for any loss or damage arising from this message.
The information in this email is confidential and may be legally privileged. It is intended solely for the addressee(s). Access to this e-mail by anyone else is unauthorized.
Get latest updates about Open Source Projects, Conferences and News.