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/setup | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 docs/setup (limited to 'docs/setup') diff --git a/docs/setup b/docs/setup new file mode 100755 index 00000000..8a9c31fd --- /dev/null +++ b/docs/setup @@ -0,0 +1,7 @@ +#!/bin/sh + +aws configure set preview.cloudfront true +aws --profile mitmproxy \ + s3 cp --acl public-read ./bucketassets/error.html s3://docs.mitmproxy.org/error.html +aws --profile mitmproxy \ + s3 cp --acl public-read ./bucketassets/robots.txt s3://docs.mitmproxy.org/robots.txt -- cgit v1.2.3