Skip to content

Commit 6e2333a

Browse files
committed
Convert linkcheck_ignore entries to regexes
1 parent 21e3032 commit 6e2333a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

source/conf.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -132,21 +132,21 @@
132132
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-the-linkcheck-builder
133133

134134
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/.*",
140140
# Temporarily ignored. Ref:
141141
# https://github.com/pypa/packaging.python.org/pull/1308#issuecomment-1775347690
142-
"https://www.breezy-vcs.org/*",
142+
r"https://www\.breezy-vcs\.org/.*",
143143
# Ignore while StackOverflow is blocking GitHub CI. Ref:
144144
# 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",
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",
150150
r"https://math-atlas\.sourceforge\.net/?",
151151
r"https://click\.palletsprojects\.com/.*",
152152
r"https://typer\.tiangolo\.com/.*",

0 commit comments

Comments
 (0)