Skip to content

Commit

Permalink
Add redirect plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ljm42 committed Aug 24, 2023
1 parent 63b952d commit 404961a
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,18 @@ const config = {
disableInDev: false,
},
],
[
"@docusaurus/plugin-client-redirects",
{
redirects: [
// file renamed in https://github.com/unraid/docs/commit/570a7e629bef1577d43e188495cb71916e7de360
{
to: "/legacy/FAQ/shrink-array/",
from: "/legacy/FAQ/Shrink_array/",
},
],
},
],
],
};

Expand Down
40 changes: 40 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"dependencies": {
"@docusaurus/core": "2.4.1",
"@docusaurus/plugin-client-redirects": "^2.4.1",
"@docusaurus/plugin-ideal-image": "^2.4.1",
"@docusaurus/preset-classic": "2.4.1",
"@mdx-js/react": "^1.6.22",
Expand Down

0 comments on commit 404961a

Please sign in to comment.