Redirect from old docs to new

Google search result showed an old docs page for 2.6. This commit adds a
redirect for that link to the  new docs.
This commit is contained in:
timo 2023-03-24 14:20:14 +01:00
parent 4159cf425f
commit 3ed8e27cd8
3 changed files with 646 additions and 542 deletions

View File

@ -53,7 +53,21 @@ const config = {
],
],
plugins: [require.resolve("@cmfcmf/docusaurus-search-local")],
plugins: [
require.resolve("@cmfcmf/docusaurus-search-local"),
[
"@docusaurus/plugin-client-redirects",
{
fromExtensions: ["html"],
redirects: [
{
to: "/2.6/new-features",
from: "/2.6/new"
}
]
}
],
],
themeConfig:

View File

@ -17,6 +17,7 @@
"dependencies": {
"@cmfcmf/docusaurus-search-local": "^0.11.0",
"@docusaurus/core": "2.2.0",
"@docusaurus/plugin-client-redirects": "2.2.0",
"@docusaurus/preset-classic": "2.2.0",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",

File diff suppressed because it is too large Load Diff