Skip to content

DOC: remove hack to override _add_newdocs_scalars (#26826) - #26832

Merged
charris merged 1 commit into
numpy:maintenance/2.0.xfrom
charris:backport-26826
Jul 2, 2024
Merged

charris merged 1 commit into
numpy:maintenance/2.0.xfrom
charris:backport-26826

Conversation

@charris

@charris charris commented Jul 2, 2024

Copy link
Copy Markdown
Member

Backport of #26826.

Fixes #26820, replaces #26825

Something has changed in the way autoclasses adds all the members. The function replace_scalar_type_names is still needed, but locally removing _add_newdocs_scalars is not. If I totally remove replace_scalar_type_names, documentation is built with full class methods for float16, but not so if the function is in place.

@charris charris added 04 - Documentation 08 - Backport Used to tag backport PRs labels Jul 2, 2024
@charris charris added this to the 2.0.1 release milestone Jul 2, 2024
@charris
charris merged commit 6e9fe42 into numpy:maintenance/2.0.x Jul 2, 2024
@charris
charris deleted the backport-26826 branch July 2, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

04 - Documentation 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants