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:
parent
4159cf425f
commit
3ed8e27cd8
@ -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:
|
themeConfig:
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cmfcmf/docusaurus-search-local": "^0.11.0",
|
"@cmfcmf/docusaurus-search-local": "^0.11.0",
|
||||||
"@docusaurus/core": "2.2.0",
|
"@docusaurus/core": "2.2.0",
|
||||||
|
"@docusaurus/plugin-client-redirects": "2.2.0",
|
||||||
"@docusaurus/preset-classic": "2.2.0",
|
"@docusaurus/preset-classic": "2.2.0",
|
||||||
"@mdx-js/react": "^1.6.22",
|
"@mdx-js/react": "^1.6.22",
|
||||||
"clsx": "^1.2.1",
|
"clsx": "^1.2.1",
|
||||||
|
1171
docs/yarn.lock
1171
docs/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user