Hi Paul, Unfortunately, reST does not support nesting of inline markups. http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup
So please use preprocessor (like PHP) to generate reST docs. Thanks, Takeshi KOMIYA 2018-02-06 2:13 GMT+09:00 Paul A. Steckler <[email protected]>: > Suppose for a software manual, I've defined a replacement: > > .. |software-version| replace:: 1.3 > > If I use the replacement in ordinary text, the replacement text is > substituted: > > The current version of the software is |software-version|. > > But if I use it within a Web link, the replacement is uninterpreted: > > `Software manual > <http://my.example.com/|software-version|/dullverbiage.txt`_ > > Is there a way to use the replacement within such link? > > -- Paul > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sphinx-users. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
