Skip to content

Commit 2962d48

Browse files
committed
Create robots.txt
Add explanatory text
1 parent b605211 commit 2962d48

File tree

3 files changed

+98
-2
lines changed

3 files changed

+98
-2
lines changed

ReleaseChecklist.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@
5555
- [ ] Wait for the ``~ethereum/ubuntu/ethereum-static`` PPA build to be finished and published for *all platforms*. SERIOUSLY: DO NOT PROCEED EARLIER!!! *After* the static builds are *published*, copy the static package to the ``~ethereum/ubuntu/ethereum`` PPA for the destination series ``Trusty``, ``Xenial`` and ``Bionic`` while selecting ``Copy existing binaries``.
5656

5757
### Documentation
58-
- [ ] Build the new version on https://readthedocs.org/projects/solidity/ (select `latest` at the bottom of the page and click `BUILD`)
58+
- [ ] Build the new version on https://readthedocs.org/projects/solidity/ (select `latest` at the bottom of the page and click `BUILD`).
5959
- [ ] In the admin panel, select `Versions` in the menu and set the default version to the released one.
60+
- [ ] If it is a non-breaking release, block indexing of previous release version in the ``robots.txt`` file.
6061

6162
### Release solc-js
6263
- [ ] Wait until solc-bin was properly deployed. You can test this via remix - a test run through remix is advisable anyway.

docs/_static/robots.txt

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
Sitemap: http://docs.soliditylang.org/sitemap.xml
2+
3+
# Prevent documentation for the development branches from showing up in search results.
4+
Disallow: /en/develop/
5+
Disallow: /en/breaking/
6+
7+
# Prevent documentation for the older Solidity versions from showing up in search results.
8+
9+
Disallow: /en/v0.1.2/
10+
Disallow: /en/v0.1.3/
11+
Disallow: /en/v0.1.4/
12+
Disallow: /en/v0.1.5/
13+
Disallow: /en/v0.1.6/
14+
Disallow: /en/v0.1.7/
15+
Disallow: /en/v0.2.0/
16+
Disallow: /en/v0.2.1/
17+
Disallow: /en/v0.2.2/
18+
Disallow: /en/v0.3.0/
19+
Disallow: /en/v0.3.1/
20+
Disallow: /en/v0.3.2/
21+
Disallow: /en/v0.3.3/
22+
Disallow: /en/v0.3.4/
23+
Disallow: /en/v0.3.5/
24+
Disallow: /en/v0.3.6/
25+
Disallow: /en/v0.4.0/
26+
Disallow: /en/v0.4.1/
27+
Disallow: /en/v0.4.2/
28+
Disallow: /en/v0.4.3/
29+
Disallow: /en/v0.4.4/
30+
Disallow: /en/v0.4.5/
31+
Disallow: /en/v0.4.6/
32+
Disallow: /en/v0.4.7/
33+
Disallow: /en/v0.4.8/
34+
Disallow: /en/v0.4.9/
35+
Disallow: /en/v0.4.10/
36+
Disallow: /en/v0.4.11/
37+
Disallow: /en/v0.4.12/
38+
Disallow: /en/v0.4.13/
39+
Disallow: /en/v0.4.14/
40+
Disallow: /en/v0.4.15/
41+
Disallow: /en/v0.4.16/
42+
Disallow: /en/v0.4.17/
43+
Disallow: /en/v0.4.18/
44+
Disallow: /en/v0.4.19/
45+
Disallow: /en/v0.4.20/
46+
Disallow: /en/v0.4.21/
47+
Disallow: /en/v0.4.22/
48+
Disallow: /en/v0.4.23/
49+
Disallow: /en/v0.4.24/
50+
Disallow: /en/v0.4.25/
51+
Disallow: /en/v0.4.26/
52+
Disallow: /en/v0.5.0/
53+
Disallow: /en/v0.5.1/
54+
Disallow: /en/v0.5.2/
55+
Disallow: /en/v0.5.3/
56+
Disallow: /en/v0.5.4/
57+
Disallow: /en/v0.5.5/
58+
Disallow: /en/v0.5.6/
59+
Disallow: /en/v0.5.7/
60+
Disallow: /en/v0.5.8/
61+
Disallow: /en/v0.5.9/
62+
Disallow: /en/v0.5.10/
63+
Disallow: /en/v0.5.11/
64+
Disallow: /en/v0.5.12/
65+
Disallow: /en/v0.5.13/
66+
Disallow: /en/v0.5.14/
67+
Disallow: /en/v0.5.15/
68+
Disallow: /en/v0.5.16/
69+
Disallow: /en/v0.5.17/
70+
Disallow: /en/v0.6.0/
71+
Disallow: /en/v0.6.1/
72+
Disallow: /en/v0.6.2/
73+
Disallow: /en/v0.6.3/
74+
Disallow: /en/v0.6.4/
75+
Disallow: /en/v0.6.5/
76+
Disallow: /en/v0.6.6/
77+
Disallow: /en/v0.6.7/
78+
Disallow: /en/v0.6.8/
79+
Disallow: /en/v0.6.9/
80+
Disallow: /en/v0.6.10/
81+
Disallow: /en/v0.6.11/
82+
Disallow: /en/v0.6.12/
83+
Disallow: /en/v0.7.0/
84+
Disallow: /en/v0.7.1/
85+
Disallow: /en/v0.7.2/
86+
Disallow: /en/v0.7.3/
87+
Disallow: /en/v0.7.4/
88+
Disallow: /en/v0.7.5/
89+
# Allow the last patch release of the 0.7.x series
90+
#Disallow: /en/v0.7.6/
91+
Disallow: /en/v0.8.0/
92+
Disallow: /en/v0.8.1/
93+
Disallow: /en/v0.8.2/
94+
# Allow the latest release
95+
#Disallow: /en/v0.8.3/

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def setup(sphinx):
156156
# Add any extra paths that contain custom files (such as robots.txt or
157157
# .htaccess) here, relative to this directory. These files are copied
158158
# directly to the root of the documentation.
159-
html_extra_path = ["_static/css"]
159+
html_extra_path = ["_static/css", "_static/robots.txt"]
160160

161161
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
162162
# using the given strftime format.

0 commit comments

Comments
 (0)