Skip to content

Commit d2d969e

Browse files
committed
DOC: Fix build with pybind11 3
As of pybind/pybind11#5212, pybind11 now uses `numpy.typing.NDArray` instead of `numpy.ndarray`, and as of pybind/pybind11#5580, it changed the name of the internal wrapper that Sphinx sees. Since we already ignore `numpy.float64` missing references for the same method, add the new name and new class to ignores as well.
1 parent e7a09ac commit d2d969e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/missing-references.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,12 @@
122122
"doc/api/_as_gen/mpl_toolkits.axisartist.floating_axes.rst:32:<autosummary>:1"
123123
],
124124
"numpy.float64": [
125+
"doc/docstring of matplotlib.ft2font.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1.set_text:1",
125126
"doc/docstring of matplotlib.ft2font.PyCapsule.set_text:1"
126127
],
128+
"numpy.typing.NDArray": [
129+
"doc/docstring of matplotlib.ft2font.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1xxx_use_cxx11_abi_1.set_text:1"
130+
],
127131
"numpy.uint8": [
128132
"<unknown>:1"
129133
]

0 commit comments

Comments
 (0)