ci: add linkcheck_ignore for CI-blocked external links (#6 Category 4)#9
Merged
Conversation
Several external links return HTTP 403 (or similar) to the linkcheck bot on CI runners even though they resolve fine in a browser. linkcheck is advisory, but ignoring these known bot-blockers keeps the report focused on genuinely broken links. Only the consistently-blocking domains are ignored. Genuine breakage is left visible on purpose: - the missing worksheet .ods (tracked in guidebook#263) - the Deloitte 404 - the Stack Overflow text-fragment anchor Refs #6.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #6 (Category 4 — external link failures), production-repo side.
What
Adds
linkcheck_ignorepatterns toconf.pyfor external links that return HTTP 403 (or similar) to the linkcheck bot on CI runners, even though they resolve fine in a browser. This is a CI-runner blocking issue, not actual link breakage.Ignored domains:
bls.gov,nytimes.com,unwomen.org,weforum.org,academic.oup.com,*.wiley.com(incl.onlinelibrary/spssi.onlinelibrary),huffpost.com,managers.org.uk,mayoclinic.org,teamblind.com,theburnoutproject.com.au,opavote.com.Deliberately NOT ignored (genuine issues, kept visible)
worksheet_for_community_audits.ods404 → tracked in guidebook#263Notes
linkcheckis advisory (continue-on-error: true), so this only reduces noise; it doesn't change pass/fail gating.fix-buildsbranch (verified locally: 41 → 0 build warnings — see Build warnings: missing source files, broken cross-references, footnote ID mismatch, and external link failures #6 discussion). zh_CN.poresync will follow oncefix-buildsmerges tomain.