Skip to content

Commit

Permalink
Add some more redirects
Browse files Browse the repository at this point in the history
These redirects are for pages linked from
https://www.weave.works/docs/.
  • Loading branch information
Max Jonas Werner authored and yiannistri committed Oct 27, 2023
1 parent 6030031 commit 7093984
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/'
},
],
},
],
Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit 7093984

Please sign in to comment.