Skip to content

Commit

Permalink
docs: Add webgl redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
eonarheim committed Mar 21, 2024
1 parent 7cb1355 commit 2325abb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions site/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,18 @@ const config: Config = {
}
]
}
],
[
'@docusaurus/plugin-client-redirects',
{
redirects: [
// /docs/oldDoc -> /docs/newDoc
{
from: '/docs/webgl',
to: '/docs/performance',
},
],
},
]
],

Expand Down
2 changes: 1 addition & 1 deletion site/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"dependencies": {
"@docusaurus/core": "3.0.0",
"@docusaurus/plugin-client-redirects": "^3.0.0",
"@docusaurus/plugin-client-redirects": "3.0.0",
"@docusaurus/preset-classic": "3.0.0",
"@mdx-js/react": "^3.0.0",
"@stackblitz/sdk": "^1.9.0",
Expand Down

0 comments on commit 2325abb

Please sign in to comment.