You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 itrst_epilog=""# Read link all targets from filewithopen("links.rst") asf:
rst_epilog+=f.read()
links.rst
.. _mylink: www.url.com
Example.py
"""My example=========My `url <mylink_>`_ is nice!"""print("end")
The text was updated successfully, but these errors were encountered:
I looked into this a little bit and it looks like this comes in the fill_notebook step when we convert to a notebook. One solution is to add rst_prolog and rst_epilog to every block of RST that we convert. But I'm not 100% sure this is a good idea or not -- I guess we could try it and if it breaks stuff for people we could make it an option.
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:Basic path to replicate
Not tested
Conf.py
links.rst
Example.py
The text was updated successfully, but these errors were encountered: