From da47f7d411c4a0003ccff6b71e6247239f3e2dc7 Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Mon, 5 Jun 2023 11:56:12 -0700 Subject: [PATCH] Remove dummy file and redirects to simulate 2.7 URLs --- docs/v2.7.md | 16 ---------------- docusaurus.config.js | 32 -------------------------------- 2 files changed, 48 deletions(-) delete mode 100644 docs/v2.7.md diff --git a/docs/v2.7.md b/docs/v2.7.md deleted file mode 100644 index 14205eb2a3a..00000000000 --- a/docs/v2.7.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: v2.7 -description: Dummy file used to redirect to the base url ---- - - - -import {Redirect} from '@docusaurus/router'; - -const Home = () => { - return ; -}; \ No newline at end of file diff --git a/docusaurus.config.js b/docusaurus.config.js index d17a4224394..10a092136e5 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -166,38 +166,6 @@ module.exports = { { fromExtensions: ['html', 'htm'], redirects: [ - { // Redirects for links in UI (start) - to: '/faq/telemetry/', - from: '/v2.7/faq/telemetry/' - }, - { - to: '/pages-for-subheaders/monitoring-v2-configuration', - from: '/v2.7/pages-for-subheaders/monitoring-v2-configuration' - }, - { - to: '/how-to-guides/new-user-guides/launch-kubernetes-with-rancher/rke1-vs-rke2-differences', - from: '/v2.7/how-to-guides/new-user-guides/launch-kubernetes-with-rancher/rke1-vs-rke2-differences' - }, - { - to: '/how-to-guides/advanced-user-guides/monitoring-v2-configuration-guides/advanced-configuration/alertmanager', - from: '/v2.7/how-to-guides/advanced-user-guides/monitoring-v2-configuration-guides/advanced-configuration/alertmanager' - }, - { - to: '/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config/configure-google-oauth', - from: '/v2.7/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/authentication-config/configure-google-oauth' - }, // Redirects for links in UI (end) - { // Redirects for AWS Marketplace (start) - to: '/integrations-in-rancher/cloud-marketplace/supportconfig', - from: '/v2.7/integrations-in-rancher/cloud-marketplace/supportconfig' - }, - { - to: '/integrations-in-rancher/cloud-marketplace/aws-cloud-marketplace/adapter-requirements', - from: '/v2.7/integrations-in-rancher/cloud-marketplace/aws-cloud-marketplace/adapter-requirements' - }, - { - to: '/integrations-in-rancher/cloud-marketplace/aws-cloud-marketplace/install-adapter', - from: '/v2.7/integrations-in-rancher/cloud-marketplace/aws-cloud-marketplace/install-adapter' - }, // Redirects for AWS Marketplace (end) { // Redirects for restructure from PR #234 (start) to: '/faq/general-faq', from: '/faq'