Skip to content

Commit 4b31070

Browse files
committed
Auto merge of #769 - detrumi:mdbook-gh-docs-403-fix, r=jackh726
Add workaround for GitHub doc url's returning 403
2 parents 280d955 + da37b4d commit 4b31070

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)