Skip to content

Commit 485b34c

Browse files
Rollup merge of rust-lang#59213 - kornelski:robots, r=Mark-Simulacrum
Track changes to robots.txt Currently `robots.txt` of doc.rust-lang.org is not part of any repo, so there's [no way to contribute any changes to it](https://internals.rust-lang.org/t/deadlock-about-fixing-outdated-documentation-links-in-search-engines/9374), such as needed for rust-lang#44894 and countless dupes of this issue. I propose adding it to this repo. I'm not in control of the infrastructure, so I can't help to automate deployment of it, but even just having the file under source control is IMHO a step forward.
2 parents c7b2345 + fbc4326 commit 485b34c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/doc/robots.txt

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# NB: This file is not automatically deployed. After changes, it needs to be uploaded manually to doc.rust-lang.org
2+
User-agent: *
3+
Disallow: /0.3/
4+
Disallow: /0.4/
5+
Disallow: /0.5/
6+
Disallow: /0.6/
7+
Disallow: /0.7/
8+
Disallow: /0.8/
9+
Disallow: /0.9/
10+
Disallow: /0.10/
11+
Disallow: /0.11.0/
12+
Disallow: /0.12.0/
13+
Disallow: /1.0.0-alpha/
14+
Disallow: /1.0.0-alpha.2/
15+
Disallow: /1.0.0-beta/
16+
Disallow: /1.0.0-beta.2/
17+
Disallow: /1.0.0-beta.3/
18+
Disallow: /1.0.0-beta.4/
19+
Disallow: /1.0.0-beta.5/

0 commit comments

Comments
 (0)