Open
Description
If you are using references in the sphinx rst_epilog
variable, when you use them in the python gallery file, you get this sort of warning:
[WARNING] Reference not found for 'elem_plane183' at line 8 column 43
Basic path to replicate
Not tested
Conf.py
# make rst_epilog a variable, so you can add other epilog parts to it
rst_epilog = ""
# Read link all targets from file
with open("links.rst") as f:
rst_epilog += f.read()
links.rst
.. _mylink: www.url.com
Example.py
"""
My example
=========
My `url <mylink_>`_ is nice!
"""
print("end")
Metadata
Metadata
Assignees
Labels
No labels