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 141141 "https://anaconda.org" ,
142142]
143143linkcheck_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
147145linkcheck_anchors_ignore_for_url = [
146+ # GitHub synthesises anchors in JavaScript, so Sphinx can't find them in the HTML
148147 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/" ,
149151]
150152
151153# -- Options for extlinks ----------------------------------------------------------
You can’t perform that action at this time.
0 commit comments