diff --git a/docs/example-react-redux.md b/docs/example-react-redux.md deleted file mode 100644 index a0a01ca5f..000000000 --- a/docs/example-react-redux.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -id: example-react-redux -title: React Redux ---- - -Moved to -[Writing Tests | Redux](https://redux.js.org/recipes/writing-tests#connected-components) diff --git a/netlify.toml b/netlify.toml index ae464136b..4a03f99c8 100644 --- a/netlify.toml +++ b/netlify.toml @@ -41,6 +41,11 @@ from = "/docs/example-react-redux" to = "https://redux.js.org/recipes/writing-tests#connected-components" +# Screen error message to correct page +[[redirects]] + from = "/s/screen-global-error" + to = "/docs/dom-testing-library/api-queries#screen" + # Reorganization (do not redirect if route is not 404) [[redirects]] from = "/docs/*" @@ -83,11 +88,3 @@ [[redirects]] from = "/nightwatch/" to = "/docs/nightwatch-testing-library/intro" -[[redirects]] - from = "https://testing-library.com/docs/example-react-redux" - to = "https://redux.js.org/recipes/writing-tests#connected-components" - -# Redirect screen error message to correct page -[[redirects]] - from = "https://testing-library.com/s/screen-global-error" - to = "https://testing-library.com/docs/dom-testing-library/api-queries#screen"