Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

Commit 919f292

Browse files
committed
Missing redirects
1 parent 0acff0b commit 919f292

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docusaurus.config.js

+16
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,22 @@
119119
],
120120
],
121121
plugins: [
122+
[
123+
'@docusaurus/plugin-client-redirects',
124+
{
125+
fromExtensions: ['html'],
126+
toExtensions: ['html'],
127+
redirects: [
128+
{
129+
from: '/',
130+
to: `/deprecated`,
131+
},
132+
],
133+
createRedirects: function() {
134+
return ["/deprecated"];
135+
}
136+
},
137+
],
122138
'docusaurus-plugin-sass',
123139
],
124140
i18n: {

0 commit comments

Comments
 (0)