about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorbinarycat <binarycat@envs.net>2025-04-09 12:43:06 -0500
committerbinarycat <binarycat@envs.net>2025-04-09 12:43:06 -0500
commitbebaa8a29da776739f7d507d4e6a679656e687f2 (patch)
tree5d33d891f1892fee8ca159b645fe4661b47406b1 /src/bootstrap
parentae9173d7dd4a31806c950c90dcc331f1508b4d17 (diff)
downloadrust-bebaa8a29da776739f7d507d4e6a679656e687f2.tar.gz
rust-bebaa8a29da776739f7d507d4e6a679656e687f2.zip
add sitemap to rust docs
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/src/core/build_steps/dist.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/build_steps/dist.rs b/src/bootstrap/src/core/build_steps/dist.rs
index 83f71aeed72..6ec39ffc436 100644
--- a/src/bootstrap/src/core/build_steps/dist.rs
+++ b/src/bootstrap/src/core/build_steps/dist.rs
@@ -82,6 +82,7 @@ impl Step for Docs {
         tarball.set_product_name("Rust Documentation");
         tarball.add_bulk_dir(builder.doc_out(host), dest);
         tarball.add_file(builder.src.join("src/doc/robots.txt"), dest, FileType::Regular);
+        tarball.add_file(builder.src.join("src/doc/sitemap.txt"), dest, FileType::Regular);
         Some(tarball.generate())
     }
 }