|
132 | 132 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-the-linkcheck-builder
|
133 | 133 |
|
134 | 134 | linkcheck_ignore = [
|
135 |
| - "http://localhost:\\d+", |
136 |
| - "https://packaging.python.org/en/latest/specifications/schemas/.*", |
137 |
| - "https://test.pypi.org/project/example-package-YOUR-USERNAME-HERE", |
138 |
| - "https://pypi.org/manage/*", |
139 |
| - "https://test.pypi.org/manage/*", |
| 135 | + r"http://localhost:\d+", |
| 136 | + r"https://packaging.python.org/en/latest/specifications/schemas/.*", |
| 137 | + r"https://test.pypi.org/project/example-package-YOUR-USERNAME-HERE", |
| 138 | + r"https://pypi.org/manage/.*", |
| 139 | + r"https://test.pypi.org/manage/.*", |
140 | 140 | # Temporarily ignored. Ref:
|
141 | 141 | # https://github.com/pypa/packaging.python.org/pull/1308#issuecomment-1775347690
|
142 |
| - "https://www.breezy-vcs.org/*", |
| 142 | + r"https://www.breezy-vcs.org/.*", |
143 | 143 | # Ignore while StackOverflow is blocking GitHub CI. Ref:
|
144 | 144 | # https://github.com/pypa/packaging.python.org/pull/1474
|
145 |
| - "https://stackoverflow.com/*", |
146 |
| - "https://pyscaffold.org/*", |
147 |
| - "https://anaconda.org", |
148 |
| - "https://www.cisa.gov/sbom", |
149 |
| - "https://developers.redhat.com/products/softwarecollections/overview", |
150 |
| - "https://math-atlas\\.sourceforge\\.net/?", |
| 145 | + r"https://stackoverflow.com/.*", |
| 146 | + r"https://pyscaffold.org/.*", |
| 147 | + r"https://anaconda.org", |
| 148 | + r"https://www.cisa.gov/sbom", |
| 149 | + r"https://developers.redhat.com/products/softwarecollections/overview", |
| 150 | + r"https://math-atlas\.sourceforge\.net/?", |
| 151 | + # Self-signed certificate, fails in CI |
| 152 | + r"https://click\.palletsprojects\.com/.*", |
| 153 | + r"https://typer\.tiangolo\.com/.*", |
151 | 154 | ]
|
152 | 155 | linkcheck_retries = 5
|
153 | 156 | # Ignore anchors for common targets when we know they likely won't be found
|
154 | 157 | linkcheck_anchors_ignore_for_url = [
|
155 | 158 | # GitHub synthesises anchors in JavaScript, so Sphinx can't find them in the HTML
|
156 | 159 | r"https://github\.com/",
|
| 160 | + r"https://docs\.github\.com/", |
157 | 161 | # While PyPI has its botscraping defenses active, Sphinx can't resolve the anchors
|
158 | 162 | # https://github.com/pypa/packaging.python.org/issues/1744
|
159 | 163 | r"https://pypi\.org/",
|
|
0 commit comments