From 4144115e4f476c64301d8b478711bbf1f6eec36a Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Mon, 4 Nov 2024 09:05:55 -0800 Subject: [PATCH] docs: Ignore FastTree link for linkcheck Reasoning in comment. --- docs/conf.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 207b86455..9fa3145d2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -156,7 +156,11 @@ def prose_list(items): ## — so there's already an implicit "only at the beginning of a ## string" matching happening, and something like a plain `r'google'` ## regular expression will _NOT_ match all google.com URLs. -linkcheck_ignore = [] +linkcheck_ignore = [ + # This URL will occasionally fail and return 403 (broken). + # + r'^http://www\.microbesonline\.org/fasttree/', +] linkcheck_anchors_ignore_for_url = [ # Github uses anchor-looking links for highlighting lines but # handles the actual resolution with Javascript, so skip anchor