-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Milestone
Description
Describe the bug
We recently started getting warnings about duplicate definition in intersphinx, from two upstream projects:
- sklearn, see BUG: Stable docs intersphinx has a duplicate std:term:y scikit-learn/scikit-learn#29337
- ipywidgets, see Intersphinx warning: multiple definitions for std:label:examples/Widget Layout.ipynb#display jupyter-widgets/ipywidgets#3930
Sklearn maintainers suspect this to be a sphinx bug, so I am opening this issue here.
How to Reproduce
$ pip list | grep Sphinx
Sphinx 7.4.2
$ python -m sphinx.ext.intersphinx https://scikit-learn.org/stable/objects.inv | grep " y "
WARNING:sphinx.sphinx.util.inventory:inventory <> contains multiple definitions for std:term:y
y
and
$ python -m sphinx.ext.intersphinx https://ipywidgets.readthedocs.io/en/stable/objects.inv | grep 'Widget Layout.ipynb#display'
WARNING:sphinx.sphinx.util.inventory:inventory <> contains multiple definitions for std:label:examples/Widget Layout.ipynb#display
examples/Widget Layout.ipynb#display display : examples/Widget%20Layout.html#id1
Environment Information
Sphinx 7.4.2
Sphinx extensions
intersphinxAdditional context
No response
adrinjalali