We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 13308d5 + 085b29c commit 5f8ec55Copy full SHA for 5f8ec55
source/conf.py
@@ -141,11 +141,13 @@
141
"https://anaconda.org",
142
]
143
linkcheck_retries = 5
144
-# Ignore anchors for links to GitHub project pages -- GitHub adds anchors from
145
-# README.md headings through JavaScript, so Sphinx's linkcheck can't find them
146
-# in the HTML.
+# Ignore anchors for common targets when we know they likely won't be found
147
linkcheck_anchors_ignore_for_url = [
+ # GitHub synthesises anchors in JavaScript, so Sphinx can't find them in the HTML
148
r"https://github\.com/",
+ # While PyPI has its botscraping defenses active, Sphinx can't resolve the anchors
149
+ # https://github.com/pypa/packaging.python.org/issues/1744
150
+ r"https://pypi\.org/",
151
152
153
# -- Options for extlinks ----------------------------------------------------------
0 commit comments