From ee6937f948f96d74d413a24f89c2317ab582d0c8 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 5 Mar 2018 10:57:50 +1300 Subject: docs: add robots.txt and error.html - robots.txt prevents crawling of everything but /stable - error.html has a simple meta refresh to the latest stable docs. This will also help crawlers find the right path. --- docs/bucketassets/error.html | 9 +++++++++ docs/bucketassets/robots.txt | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 docs/bucketassets/error.html create mode 100644 docs/bucketassets/robots.txt (limited to 'docs/bucketassets') diff --git a/docs/bucketassets/error.html b/docs/bucketassets/error.html new file mode 100644 index 00000000..a855e72b --- /dev/null +++ b/docs/bucketassets/error.html @@ -0,0 +1,9 @@ +Not found + + + + + + Not found - redirecting you to latest stable docs. + + diff --git a/docs/bucketassets/robots.txt b/docs/bucketassets/robots.txt new file mode 100644 index 00000000..da4c47d6 --- /dev/null +++ b/docs/bucketassets/robots.txt @@ -0,0 +1,3 @@ +User-agent: * +Disallow: /archive/ +Disallow: /master/ \ No newline at end of file -- cgit v1.2.3