Skip to content

Commit 4be3bf1

Browse files
committed
Make intersphinx ignore parts of DTypeLike definitions that are not public
1 parent c50a397 commit 4be3bf1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,11 @@ def filter(self, record: pylogging.LogRecord) -> bool:
9494

9595
autosummary_generate = True
9696

97-
nitpick_ignore = [("py:class", "sgkit.display.GenotypeDisplay")]
97+
nitpick_ignore = [
98+
("py:class", "sgkit.display.GenotypeDisplay"),
99+
("py:class", "numpy.typing._dtype_like._DTypeDict"),
100+
("py:class", "numpy.typing._dtype_like._SupportsDType"),
101+
]
98102

99103

100104
# FIXME: Workaround for linking xarray module

0 commit comments

Comments
 (0)