Skip to content

Commit

Permalink
docs: Ignore FastTree link for linkcheck
Browse files Browse the repository at this point in the history
Reasoning in comment.
  • Loading branch information
victorlin committed Nov 4, 2024
1 parent efabf11 commit 4144115
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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).
# <https://github.com/nextstrain/.github/issues/106#issuecomment-2408239782>
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
Expand Down

0 comments on commit 4144115

Please sign in to comment.