Skip to content

Commit

Permalink
Exclude dl.acm.org from link checks as it always returns 403 with…
Browse files Browse the repository at this point in the history
… verify human challenge
  • Loading branch information
ShoyuVanilla committed Mar 3, 2025
1 parent b8d1a1e commit 9262ad2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion book/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ additional-js = ["mermaid.min.js", "mermaid-init.js"]
follow-web-links = true
warning-policy = "error"
optional = true
exclude = [
# This even returns 403 on real browsers with Cloudflare's verify human challenge
'dl\.acm\.org',
]

# Workaround for GitHub docs returning 403 response: https://github.com/github/docs/issues/17358
[output.linkcheck.http-headers]
"https://help.github.com" = ["accept-encoding: deflate, gzip, br"]
"https://help.github.com" = ["accept-encoding: deflate, gzip, br"]

0 comments on commit 9262ad2

Please sign in to comment.