Skip to content

Commit

Permalink
[docs] add docusaurus slug redirecfts
Browse files Browse the repository at this point in the history
  • Loading branch information
cmpadden committed Jan 23, 2025
1 parent 46ca7ed commit 8c706a4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/docs-beta/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1329,6 +1329,17 @@ const config: Config = {
if (existingPath.includes('/api/python-api')) {
return [existingPath.replace('/api/python-api', '/_apidocs')];
}

if (existingPath.includes('/dagster-cloud/')) {
return [existingPath.replace('/dagster-cloud/', '/dagster-plus/')];
}

if (existingPath.includes('/guides/dagster-pipes/')) {
return [
existingPath.replace('/guides/dagster-pipes/', '/guides/build/external-pipelines/'),
];
}

return undefined; // Return a falsy value: no redirect created
},
},
Expand Down

0 comments on commit 8c706a4

Please sign in to comment.