docs: old links support

Signed-off-by: mertmit <mertmit99@gmail.com>
This commit is contained in:
mertmit
2023-10-11 22:02:56 +05:30
parent cf15369af4
commit 3b5fc555a2
393 changed files with 1774 additions and 1139 deletions

View File

@@ -45,6 +45,18 @@ const config = {
disableInDev: false,
},
],
[
'@docusaurus/plugin-client-redirects',
{
createRedirects(existingPath) {
if (existingPath.startsWith('/0.109.7/')) {
return [
existingPath.replace('/0.109.7/', '/'),
];
}
},
},
],
],
presets: [