Skip to content Skip to sidebar Skip to footer

Common Link Targets In Sphinx

I have a lot of Sphinx pages which have the same links on them. Like those: .. _CC-BY: https://creativecommons.org/licenses/by/3.0/ .. _MIT: http://opensource.org/licenses/MIT Cur

Solution 1:

Put your link definitions in rst_epilog in conf.py:

rst_epilog = """
.. _CC-BY: https://creativecommons.org/licenses/by/3.0/
.. _MIT: http://opensource.org/licenses/MIT
"""

Post a Comment for "Common Link Targets In Sphinx"