Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix ignores
  • Loading branch information
cbrnr committed Jul 22, 2025
commit b9bb306c0069088f5f7bc18839e94f64ab71daed
28 changes: 16 additions & 12 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,28 +132,32 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-the-linkcheck-builder

linkcheck_ignore = [
"http://localhost:\\d+",
"https://packaging.python.org/en/latest/specifications/schemas/.*",
"https://test.pypi.org/project/example-package-YOUR-USERNAME-HERE",
"https://pypi.org/manage/*",
"https://test.pypi.org/manage/*",
r"http://localhost:\d+",
r"https://packaging.python.org/en/latest/specifications/schemas/.*",
r"https://test.pypi.org/project/example-package-YOUR-USERNAME-HERE",
r"https://pypi.org/manage/.*",
r"https://test.pypi.org/manage/.*",
# Temporarily ignored. Ref:
# https://github.com/pypa/packaging.python.org/pull/1308#issuecomment-1775347690
"https://www.breezy-vcs.org/*",
r"https://www.breezy-vcs.org/.*",
# Ignore while StackOverflow is blocking GitHub CI. Ref:
# https://github.com/pypa/packaging.python.org/pull/1474
"https://stackoverflow.com/*",
"https://pyscaffold.org/*",
"https://anaconda.org",
"https://www.cisa.gov/sbom",
"https://developers.redhat.com/products/softwarecollections/overview",
"https://math-atlas\\.sourceforge\\.net/?",
r"https://stackoverflow.com/.*",
r"https://pyscaffold.org/.*",
r"https://anaconda.org",
r"https://www.cisa.gov/sbom",
r"https://developers.redhat.com/products/softwarecollections/overview",
r"https://math-atlas\.sourceforge\.net/?",
# Self-signed certificate, fails in CI
r"https://click\.palletsprojects\.com/.*",
r"https://typer\.tiangolo\.com/.*",
]
linkcheck_retries = 5
# Ignore anchors for common targets when we know they likely won't be found
linkcheck_anchors_ignore_for_url = [
# GitHub synthesises anchors in JavaScript, so Sphinx can't find them in the HTML
r"https://github\.com/",
r"https://docs\.github\.com/",
# While PyPI has its botscraping defenses active, Sphinx can't resolve the anchors
# https://github.com/pypa/packaging.python.org/issues/1744
r"https://pypi\.org/",
Expand Down
Loading