|
132 | 132 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-the-linkcheck-builder
|
133 | 133 |
|
134 | 134 | linkcheck_ignore = [
|
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/.*", |
| 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/*", |
140 | 140 | # Temporarily ignored. Ref:
|
141 | 141 | # https://github.com/pypa/packaging.python.org/pull/1308#issuecomment-1775347690
|
142 |
| - r"https://www\.breezy-vcs\.org/.*", |
| 142 | + "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 |
| - 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", |
| 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 | 150 | r"https://math-atlas\.sourceforge\.net/?",
|
151 |
| - # Self-signed certificate, fails in CI |
152 | 151 | r"https://click\.palletsprojects\.com/.*",
|
153 | 152 | r"https://typer\.tiangolo\.com/.*",
|
154 | 153 | ]
|
|
157 | 156 | linkcheck_anchors_ignore_for_url = [
|
158 | 157 | # GitHub synthesises anchors in JavaScript, so Sphinx can't find them in the HTML
|
159 | 158 | r"https://github\.com/",
|
160 |
| - r"https://docs\.github\.com/", |
161 | 159 | # While PyPI has its botscraping defenses active, Sphinx can't resolve the anchors
|
162 | 160 | # https://github.com/pypa/packaging.python.org/issues/1744
|
163 | 161 | r"https://pypi\.org/",
|
|
0 commit comments