Skip to content

Commit

Permalink
Fix hiding dot() method from Array API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mhostetter committed May 11, 2022
1 parent 2078aa9 commit 8d71f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def autodoc_skip_member(app, what, name, obj, skip, options):
if hasattr(obj, "__objclass__"):
# This is a NumPy method, don't include docs
return True
elif getattr(obj, "__qualname__", None) in ["FieldFunction.dot", "Array.astype"]:
elif getattr(obj, "__qualname__", None) in ["FunctionMixin.dot", "Array.astype"]:
# NumPy methods that wer overridden, don't include docs
return True
elif hasattr(obj, "__qualname__") and getattr(obj, "__qualname__").split(".")[0] == "FieldArray" and hasattr(numpy.ndarray, name):
Expand Down

0 comments on commit 8d71f8a

Please sign in to comment.