File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 141
141
"https://anaconda.org" ,
142
142
]
143
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.
144
+ # Ignore anchors for common targets when we know they likely won't be found
147
145
linkcheck_anchors_ignore_for_url = [
146
+ # GitHub synthesises anchors in JavaScript, so Sphinx can't find them in the HTML
148
147
r"https://github\.com/" ,
148
+ # 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/" ,
149
151
]
150
152
151
153
# -- Options for extlinks ----------------------------------------------------------
You can’t perform that action at this time.
0 commit comments