diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2023-02-05 17:35:18 +0900 |
|---|---|---|
| committer | Tshepang Mbambo <tshepang@gmail.com> | 2023-02-06 11:32:47 +0200 |
| commit | dd809b08cd4cef2d39c90b650daa9d25d7c4bb1b (patch) | |
| tree | e6f56523e68294c068dd25d3413a868fe9e1bb25 /src/doc/rustc-dev-guide | |
| parent | b5eae12f0ca4dec772f91b97d6d436a269392881 (diff) | |
| download | rust-dd809b08cd4cef2d39c90b650daa9d25d7c4bb1b.tar.gz rust-dd809b08cd4cef2d39c90b650daa9d25d7c4bb1b.zip | |
Do not add accept header on linkcheck
It seems that this header causes "406 Not Acceptable" failures: https://github.com/rust-lang/rustc-dev-guide/actions/runs/4092776683/jobs/7057742900
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/book.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/book.toml b/src/doc/rustc-dev-guide/book.toml index 747567461ff..9170ceb700c 100644 --- a/src/doc/rustc-dev-guide/book.toml +++ b/src/doc/rustc-dev-guide/book.toml @@ -41,7 +41,7 @@ cache-timeout = 86400 warning-policy = "error" [output.linkcheck.http-headers] -'github\.com' = ["Accept: application/vnd.github+json", "Authorization: Bearer $GITHUB_TOKEN"] +'github\.com' = ["Authorization: Bearer $GITHUB_TOKEN"] [output.html.redirect] "/compiletest.html" = "tests/compiletest.html" |
