Install robots.txt into rust-docs tarballs
This commit is contained in:
parent
edb3684915
commit
39e502744c
@ -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")
|
||||
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user