You could use the rst_epilog config value[1] which is appended to the end of each source file before it is processed.
[1] http://sphinx-doc.org/config.html?highlight=rst_prolog#confval-rst_epilog On Fri, Feb 22, 2013 at 12:43 PM, Brutus Schraiber <[email protected]> wrote: > If i got a file - say links.rst - where all my link targets are defined like > this: > > .. _link1: htt... > .. _link2: ht... > ... > > Is there a way I can include it globally in my documentation (preferably in > the main `index.rst`, or even better included from there), so that I can use > the links in *all* my other rst files like this: `link1_`? > -- Jonathan Waltman -- 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 http://groups.google.com/group/sphinx-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
