Skip to content

Commit da37b4d

Browse files
committed
Add workaround for GitHub doc url's returning 403
1 parent 280d955 commit da37b4d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

book/book.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ additional-js = ["mermaid.min.js", "mermaid-init.js"]
1616
follow-web-links = true
1717
warning-policy = "error"
1818
optional = true
19+
20+
# Workaround for GitHub docs returning 403 response: https://github.com/github/docs/issues/17358
21+
[output.linkcheck.http-headers]
22+
"https://help.github.com" = ["accept-encoding: deflate, gzip, br"]

0 commit comments

Comments
 (0)