From 9cf8c32998eee47b21ed281673e5802a4a1cd4a9 Mon Sep 17 00:00:00 2001 From: Nick McCurdy Date: Mon, 27 Jul 2020 03:53:11 -0400 Subject: [PATCH 1/2] docs(preact): redirect Preact landing page to docs --- netlify.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/netlify.toml b/netlify.toml index 892698e1a..0b46f3d37 100644 --- a/netlify.toml +++ b/netlify.toml @@ -111,12 +111,10 @@ status = 301 force = true -# Preact page. Hopefully it'll join this website eventually -# but for now it'll be nice to be able to use the URL in content/twitter/etc. -# and not have to worry about updating those URLs in the future. +# Preact landing page to home page [[redirects]] from = "https://testing-library.com/preact/" - to = "https://github.com/antsmartian/preact-testing-library" + to = "https://testing-library.com/docs/preact-testing-library/intro" status = 301 force = true From 5f35ea0829eaf22959972efb00db3e7169fde9a7 Mon Sep 17 00:00:00 2001 From: Nick McCurdy Date: Mon, 27 Jul 2020 04:14:13 -0400 Subject: [PATCH 2/2] docs: Add Testcafe and Nightwatch redirects --- netlify.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/netlify.toml b/netlify.toml index 0b46f3d37..fed33ac84 100644 --- a/netlify.toml +++ b/netlify.toml @@ -124,3 +124,17 @@ to = "https://testing-library.com/docs/ecosystem-jest-dom" status = 301 force = true + +# Testcafe landing page to home page +[[redirects]] + from = "https://testing-library.com/testcafe/" + to = "https://testing-library.com/docs/testcafe-testing-library/intro" + status = 301 + force = true + +# Nightwatch landing page to home page +[[redirects]] + from = "https://testing-library.com/nightwatch/" + to = "https://testing-library.com/docs/nightwatch-testing-library/intro" + status = 301 + force = true