about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2025-02-14 14:05:21 -0800
committerGitHub <noreply@github.com>2025-02-14 14:05:21 -0800
commit17ad8b5eeef95d1cf5ffb8a03bde9eafc047738a (patch)
tree491766b3c98b05e99760e3e46f9207f0c599ce2a
parentd8810e3e2dab96778d20dd6d746ff95465515509 (diff)
parentcc74ed08d53fbb440b4ab70035a92d89d418d23c (diff)
downloadrust-17ad8b5eeef95d1cf5ffb8a03bde9eafc047738a.tar.gz
rust-17ad8b5eeef95d1cf5ffb8a03bde9eafc047738a.zip
Rollup merge of #133312 - lolbinarycat:triagebot-rustdoc-labels, r=GuillaumeGomez
triagebot: automatically add more rustdoc related labels

[inspired by zulip discussion](https://rust-lang.zulipchat.com/#narrow/channel/242269-t-release.2Ftriage/topic/auto-adding.20team.20labels.20based.20on.20certain.20other.20labels)
-rw-r--r--triagebot.toml37
1 files changed, 37 insertions, 0 deletions
diff --git a/triagebot.toml b/triagebot.toml
index 52355189419..512736b0e8f 100644
--- a/triagebot.toml
+++ b/triagebot.toml
@@ -227,6 +227,16 @@ exclude_labels = [
     "T-*",
 ]
 
+trigger_labels = [
+    "A-rustdoc-json",
+    "A-rustdoc-type-layout",
+    "A-rustdoc-scrape-examples",
+    "A-link-to-definition",
+    "A-cross-crate-reexports",
+    "A-intra-doc-links",
+    "A-doc-alias",
+]
+
 [autolabel."A-rustdoc-json"]
 trigger_files = [
     "src/librustdoc/json/",
@@ -245,6 +255,33 @@ trigger_files = [
     "compiler/rustc_attr_validation",
 ]
 
+[autolabel."T-rustdoc-frontend"]
+trigger_labels = [
+    "A-rustdoc-search",
+    "A-rustdoc-ui",
+    "A-rustdoc-js",
+]
+
+trigger_files = [
+    "src/librustdoc/html/",
+    "tests/rustdoc/",
+    "tests/rustdoc-gui/",
+    "tests/rustdoc-js/",
+    "tests/rustdoc-js-std/",
+    # note: tests/rustdoc-ui tests the CLI, not the web frontend
+]
+
+[autolabel."A-rustdoc-search"]
+trigger_files = [
+    "src/librustdoc/html/static/js/search.js",
+    "tests/rustdoc-js",
+    "tests/rustdoc-js-std",
+]
+
+trigger_labels = [
+    "A-type-based-search",
+]
+
 [autolabel."T-compiler"]
 trigger_files = [
     # Source code