From d84a8134571e0a91500a264b90274150c963754f Mon Sep 17 00:00:00 2001 From: Anton Georgiev Date: Fri, 26 Jan 2024 12:09:40 -0500 Subject: [PATCH] docs: enable trailingSlashes (2) and handle redirects --- docs/docusaurus.config.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 6d4f9a9e89..ee4b1e977e 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -68,23 +68,23 @@ const config = { fromExtensions: ['html', 'htm'], redirects: [ { - to: "/2.6/new-features", - from: "/2.6/new" + to: "/2.6/new-features/", + from: "/2.6/new/" }, { - to: "/2.6/new-features", + to: "/2.6/new-features/", from: "/2.6/new.html" }, { - to: "/new-features", - from: "/2.7/new-features" + to: "/new-features/", + from: "/2.7/new-features/" }, { - to: "/development/api", + to: "/development/api/", from: "/dev/api.html" }, { - to: "/greenlight/v3/migration", + to: "/greenlight/v3/migration/", from: "/greenlight_v3/gl3-migration.html" } ],