about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorMartin Liška <martin.liska@hey.com>2024-12-29 21:58:21 +0100
committerGitHub <noreply@github.com>2024-12-29 12:58:21 -0800
commitbb3f3d8efdcf216b0c0eaecd31ad21e803483a2a (patch)
tree1a40abbbfe5eefa3af4fdc880926ed097348d7de /src/doc
parent7ab1ca0f63843b4e5272087a0754d474f96153c0 (diff)
downloadrust-bb3f3d8efdcf216b0c0eaecd31ad21e803483a2a.tar.gz
rust-bb3f3d8efdcf216b0c0eaecd31ad21e803483a2a.zip
Add a couple of linkcheck exceptions: (#2120)
* Add a couple of linkcheck exceptions:

Addresses:
```

Server returned 500 Internal Server Error for https://github.com/rust-lang/rust/pulls?q=is%3Apr+label%3AS-inactive+is%3Aclosed
Server returned 401 Unauthorized for https://objects.githubusercontent.com/github-production-release-asset-2e65be/343907537/60cd5880-7b81-11eb-9502-68d5f473ebe2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241103%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241103T085906Z&X-Amz-Expires=300&X-Amz-Signature=e532fd7d2bd271f12988982bc8e5a47a0f966b40452b55d444bbb74292ac1fb1&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Drustc.generic.wpaProfile&response-content-type=application%2Foctet-stream
Server returned 500 Internal Server Error for https://github.com/rust-lang/rust/pulls?q=is%3Apr+label%3AS-inactive
```

* Skip only github.com/rust-lang/rust/pulls?q=
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc-dev-guide/book.toml8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/book.toml b/src/doc/rustc-dev-guide/book.toml
index bf3f0b05b86..2f67aecf6f0 100644
--- a/src/doc/rustc-dev-guide/book.toml
+++ b/src/doc/rustc-dev-guide/book.toml
@@ -42,9 +42,15 @@ exclude = [
     "marketplace\\.visualstudio\\.com",
     "objects\\.githubusercontent\\.com",
     # The bug listing URL works only if an user is logged in, otherwise one gets 404.
-    "github\\.com/issues\\?",
+    "github\\.com/issues\\?q=.*",
+    # Similarly 500 is sometimes returned here.
+    "github\\.com/rust-lang/rust/pulls\\?q=.*",
+    # 401 is returned here for unknown reason
+    "github\\.com/wesleywiser/rustc-bootstrap-wpa-analysis",
     # Handle: connection closed before message completed
     "microsoft\\.com/en-us/research/publication/",
+    # 500 is returned for HEAD request
+    "code\\.visualstudio\\.com/docs/editor/tasks",
 ]
 cache-timeout = 86400
 warning-policy = "error"