Skip to content

Commit

Permalink
Install robots.txt into rust-docs tarballs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Jan 31, 2020
1 parent edb3684 commit 39e5027
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/bootstrap/dist.rs
Expand Up @@ -105,6 +105,7 @@ impl Step for Docs {
t!(fs::create_dir_all(&dst));
let src = builder.doc_out(host);
builder.cp_r(&src, &dst);
builder.install(&builder.src.join("src/doc/robots.txt"), &dst, 0o644);

let mut cmd = rust_installer(builder);
cmd.arg("generate")
Expand Down
1 change: 0 additions & 1 deletion src/doc/robots.txt
@@ -1,4 +1,3 @@
# NB: This file is not automatically deployed. After changes, it needs to be uploaded manually to doc.rust-lang.org
User-agent: *
Disallow: /0.3/
Disallow: /0.4/
Expand Down

0 comments on commit 39e5027

Please sign in to comment.