Open
Description
Describe the issue:
I've been trying to point to :func:numpy.logaddexp
and failing.
The issue is that the Intersphinx inventory incorrectly lists that and many other functions (all ufuncs?) under py:data
instead of py:function
.
Reproduce the code example:
$ python -m sphinx.ext.intersphinx https://numpy.org/doc/stable/objects.inv | grep -E '^[a-zA-Z]|logaddexp'
c:enum
c:enumerator
c:function
c:functionParam
c:macro
c:member
c:type
py:attribute
py:class
py:data
numpy.logaddexp : reference/generated/numpy.logaddexp.html#numpy.logaddexp
numpy.logaddexp2 : reference/generated/numpy.logaddexp2.html#numpy.logaddexp2
py:exception
py:function
py:method
py:module
py:property
std:doc
reference/generated/numpy.logaddexp numpy.logaddexp : reference/generated/numpy.logaddexp.html
reference/generated/numpy.logaddexp2 numpy.logaddexp2 : reference/generated/numpy.logaddexp2.html
std:label
std:term
Error message:
Python and NumPy Versions:
- stable (2.2)
https://numpy.org/doc/stable/objects.inv
- as well as dev (2.3)
https://numpy.org/devdocs/objects.inv
Runtime Environment:
No response
Context for the issue:
No response