Revert sphinx pin for docs#1293
Draft
pllim wants to merge 1 commit into
Draft
Conversation
[ci skip]
Member
Author
|
Okay, so I think I am able to trace where the prod API doc is coming from but I don't know what is the proper way to fix it. SpectralAxis goes through a chain of inheritance that basically ends up with _array_method_doc('prod', "axis=None, dtype=None, out=None, **kwargs",
f"""
a.prod(axis=None, dtype=None, out=None, *, {_KWARGS_REDUCE})
Return the product of the array elements over the given axis
Refer to `numpy.prod` for full documentation.
See Also
--------
numpy.prod : equivalent function
""")Somehow Sphinx 9 broke API doc from such inheritance. I wonder if @AA-Turner has any ideas on how to solve this short of the hacky way of just not showing inherited methods. 🙏 The error: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reverts #1292