8000 docs: ignore warnings about missing external py xrefs (#2904) · aignas/rules_python@6ffeff6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6ffeff6

Browse files
rickeylevaignas
andauthored
docs: ignore warnings about missing external py xrefs (bazel-contrib#2904)
Crossreferencing to py code outside our project isn't setup, so these are just a lot of warning spam. Disable them for now. Co-authored-by: Ignas Anikevicius <240938+aignas@users.noreply.github.com>
1 parent 1ea9102 commit 6ffeff6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,12 @@
125125
primary_domain = None # The default is 'py', which we don't make much use of
126126
nitpicky = True
127127

128+
nitpick_ignore_regex = [
129+
# External xrefs aren't setup: ignore missing xref warnings
130+
# External xrefs to sphinx isn't setup: ignore missing xref warnings
131+
("py:.*", "(sphinx|docutils|ast|enum|collections|typing_extensions).*"),
132+
]
133+
128134
# --- Intersphinx configuration
129135

130136
intersphinx_mapping = {

0 commit comments

Comments
 (0)
0