File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
bootstrap/src/core/build_steps Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ impl Step for Docs {
8282 tarball. set_product_name ( "Rust Documentation" ) ;
8383 tarball. add_bulk_dir ( builder. doc_out ( host) , dest) ;
8484 tarball. add_file ( builder. src . join ( "src/doc/robots.txt" ) , dest, FileType :: Regular ) ;
85+ tarball. add_file ( builder. src . join ( "src/doc/sitemap.txt" ) , dest, FileType :: Regular ) ;
8586 Some ( tarball. generate ( ) )
8687 }
8788}
Original file line number Diff line number Diff line change @@ -9,3 +9,5 @@ Disallow: /beta/book/first-edition/
99Disallow: /beta/book/second-edition/
1010Disallow: /nightly/book/first-edition/
1111Disallow: /nightly/book/second-edition/
12+
13+ Sitemap: https://doc.rust-lang.org/sitemap.txt
Original file line number Diff line number Diff line change 1+ https://doc.rust-lang.org/stable/
2+ https://doc.rust-lang.org/beta/
3+ https://doc.rust-lang.org/nightly/
4+
You can’t perform that action at this time.
0 commit comments