mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
script to automate updates to robots.txt #11199
Rewritten the script to work with a 'robots.txt' template file and we generate the 'robots.txt' from the template when we execute the script. It's found to be a better alternative to editing the 'robots.txt' file in-place.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
User-Agent: *
|
||||
Sitemap: http://docs.soliditylang.org/sitemap.xml
|
||||
|
||||
Allow: /en/latest/
|
||||
Allow: /en/v0.7.6/
|
||||
Allow: /en/v{{ LATEST_VERSION }}/
|
||||
Allow: /_/downloads/en/latest/
|
||||
Allow: /_/downloads/en/0.7.6/
|
||||
Allow: /_/downloads/en/{{ LATEST_VERSION }}/
|
||||
|
||||
# Prevent documentation for the development branches and older Solidity
|
||||
# versions from showing up in search results.
|
||||
Disallow: /en/*
|
||||
Disallow: /_/downloads/en/*
|
||||
Reference in New Issue
Block a user