Skip to content

Commit

Permalink
Ignore GitHub anchors when checking links
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Sep 12, 2024
1 parent 5e5b658 commit 70681e3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@

# A list of patterns to ignore when checking for broken links
linkcheck_ignore = [
# The crawler gets "Anchor not found"
r"https://github.com.+?#.*",
r"https://hackmd\.io/[^?]+\?[^#]+#.+",
# RTD preview builds:
r"https://[a-zA-Z0-9.-]+\.org\.readthedocs\.build/[a-zA-Z0-9.-]+/[a-zA-Z0-9.-]+/",
# Deleted Plausible page:
r"https://plausible\.io/share/hugovk-cpython\.readthedocs\.io\?auth=XDF9fK3EB2dEHCr4sC9hn",
# HackMD anchors:
r"https://hackmd\.io/[^?]+\?[^#]+#.+",
]

0 comments on commit 70681e3

Please sign in to comment.