-
Notifications
You must be signed in to change notification settings - Fork 210
Closed
Description
I'm puzzled by two points related to backreferences, which have been introduced by version 0.5 of sphinx-gallery:
- it seems that intersphinx links are generated not only for functions or class constructors, but also for instances of objects of modules selected for backreferences. For example in https://sphinx-gallery.github.io/stable/auto_examples/plot_3_capture_repr.html#sphx-glr-auto-examples-plot-3-capture-repr-py integer variables have links to the Python doc, or in https://sphinx-gallery.github.io/stable/auto_examples/plot_0_sin.html#sphx-glr-auto-examples-plot-0-sin-py numpy arrays also have links. Is this done on purpose? With this behaviour example pages become very busy with links (see for example https://scikit-image.org/docs/dev/auto_examples/color_exposure/plot_rgb_to_hsv.html#sphx-glr-auto-examples-color-exposure-plot-rgb-to-hsv-py)
- modules listed in the
intersphinx_mappingvariable ofconf.pyseem to generate backreferences even if they are not listed in SG'sreference_urldict. This was not the case with version 0.4.
I tried to track down when the change appeared, maybe it's 3acd37b#diff-33215ef937b7c3d86fe0a23425c585e4 but I'm not sure. Happy to dig more if needed but I'd like to know first whether this is a desired behaviour or not.
Metadata
Metadata
Assignees
Labels
No labels