On Sun, Apr 21, 2019 at 8:58 PM Ярослав Ребенко <[email protected]> wrote:

> Is there a way to create a cross-file substitute. Say declare
>
> .. |test| replace:: TesT
>
> in one file and then use
>
> |test|
>
> anywhere else.
>
>
Yes, actually, your use case is an actual example in the documentation for
the rst_epilog setting [1]. :-)

[1]:
https://www.sphinx-doc.org/en/2.0/usage/configuration.html#confval-rst_epilog

HTH

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

Reply via email to