From 13357c519be95000c7a37fcb679b4306d22054b3 Mon Sep 17 00:00:00 2001 From: Jeff Escalante Date: Fri, 21 Sep 2018 12:16:35 -0700 Subject: [PATCH] netlify redirect fixs --- website/config.rb | 4 ++++ website/{redirects.txt => source/_redirects} | 3 +++ 2 files changed, 7 insertions(+) rename website/{redirects.txt => source/_redirects} (88%) diff --git a/website/config.rb b/website/config.rb index 4c4a40637..993fc7347 100644 --- a/website/config.rb +++ b/website/config.rb @@ -109,3 +109,7 @@ helpers do return classes.join(" ") end end + +# Netlify redirects/headers +proxy '_redirects', 'netlify-redirects', ignore: true +proxy '_headers', 'netlify-headers', ignore: true diff --git a/website/redirects.txt b/website/source/_redirects similarity index 88% rename from website/redirects.txt rename to website/source/_redirects index 108cb8fed..58a2c8c29 100644 --- a/website/redirects.txt +++ b/website/source/_redirects @@ -21,3 +21,6 @@ /docs/platforms.html /docs/builders/index.html /intro/platforms.html /docs/builders/index.html /docs/templates/configuration-templates.html /docs/templates/engine.html +/docs/machine-readable/* /docs/commands/index.html +/docs/command-line/* /docs/commands/ +/docs/extend/* /docs/extending/