From 4b42dcf93c150573a47f8a3c218f580d4615dc64 Mon Sep 17 00:00:00 2001 From: "Delteil, Thomas" Date: Fri, 27 Sep 2019 06:48:11 +1000 Subject: [PATCH 1/3] redirect to the 404 so that people are at least on the website --- docs/static_site/src/.htaccess | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/static_site/src/.htaccess b/docs/static_site/src/.htaccess index 16420306f1e1..fc382a3f5578 100644 --- a/docs/static_site/src/.htaccess +++ b/docs/static_site/src/.htaccess @@ -22,3 +22,6 @@ RewriteCond %{REQUEST_URI} !\/$ RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{REQUEST_FILENAME}/index.html -f RewriteRule ^(.*) $1/index.html [NC,L] + +# 404 +ErrorDocument 404 /404.html \ No newline at end of file From fb59af755599aed27a26cc6c5af2e1e0dcd6001d Mon Sep 17 00:00:00 2001 From: "Delteil, Thomas" Date: Fri, 27 Sep 2019 07:20:35 +1000 Subject: [PATCH 2/3] improve 404 documentation --- docs/static_site/src/404.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/static_site/src/404.html b/docs/static_site/src/404.html index c472b4ea0a78..ed01bd7bab45 100644 --- a/docs/static_site/src/404.html +++ b/docs/static_site/src/404.html @@ -19,6 +19,12 @@

404

-

Page not found :(

-

The requested page could not be found.

+

Page not found :'(

+ +

Due to a recent redesign of the website, some items have moved + We're working towards adding redirects. Useful links:

+
+
  • Python Tutorials
  • +
  • Python API Documentation
  • +
    From 2fb1aa68e1c2ae064805df93311779d5b7b5f947 Mon Sep 17 00:00:00 2001 From: Thomas Delteil Date: Fri, 27 Sep 2019 10:43:06 +1000 Subject: [PATCH 3/3] nudge ci --- docs/static_site/src/.htaccess | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/static_site/src/.htaccess b/docs/static_site/src/.htaccess index fc382a3f5578..b5de581b80b2 100644 --- a/docs/static_site/src/.htaccess +++ b/docs/static_site/src/.htaccess @@ -23,5 +23,6 @@ RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{REQUEST_FILENAME}/index.html -f RewriteRule ^(.*) $1/index.html [NC,L] + # 404 -ErrorDocument 404 /404.html \ No newline at end of file +ErrorDocument 404 /404.html