From 7093984b18d9928bdf81da173d6210665f4a18b3 Mon Sep 17 00:00:00 2001 From: Max Jonas Werner Date: Fri, 27 Oct 2023 14:54:24 +0200 Subject: [PATCH] Add some more redirects These redirects are for pages linked from https://www.weave.works/docs/. --- website/docusaurus.config.js | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 3f1ffd8ddc..03031ae0b5 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -51,12 +51,27 @@ module.exports = { }, { to: '/docs/enterprise/getting-started/releases-enterprise/', - from: ['/docs/enterprise/releases/'] + from: [ + '/docs/enterprise/releases/', + '/docs/enterprise/intro', + ] }, { to: '/docs/intro-weave-gitops/', from: '/docs/intro' - } + }, + { + to: '/docs/enterprise/getting-started/install-enterprise/', + from: '/docs/installation/weave-gitops-enterprise/' + }, + { + to: '/docs/open-source/getting-started/install-OSS/', + from: '/docs/installation/weave-gitops/' + }, + { + to: '/docs/open-source/getting-started/aws-marketplace/', + from: '/docs/installation/aws-marketplace/' + }, ], }, ], @@ -206,10 +221,7 @@ module.exports = { customCss: require.resolve("./src/css/custom.css"), }, gtag: { - // You can also use your "G-" Measurement ID here. - // Bogus commit to trigger a build trackingID: process.env.GA_KEY, - // Optional fields. anonymizeIP: true, // Should IPs be anonymized? }, sitemap: {