Content-Length: 248352 | pFad | https://github.com/numpy/numpy/issues/28734

B6 BUG: intersphinx pages for ufuncs are under `:data:` · Issue #28734 · numpy/numpy · GitHub
Skip to content

BUG: intersphinx pages for ufuncs are under :data: #28734

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
crusaderky opened this issue Apr 16, 2025 · 2 comments
Open

BUG: intersphinx pages for ufuncs are under :data: #28734

crusaderky opened this issue Apr 16, 2025 · 2 comments

Comments

@crusaderky
Copy link
Contributor

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

@crusaderky
Copy link
Contributor Author

crusaderky commented Apr 16, 2025

This is particularly problematic after a round-trip through numpydoc.docscrape: numpy/numpydoc#618

@melissawm
Copy link
Member

I think I know how to fix this. Will follow up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/numpy/numpy/issues/28734

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy