From 93fa8758a975f3273fee254fca0690055de9b34b Mon Sep 17 00:00:00 2001 From: danielpeintner Date: Tue, 22 Oct 2024 17:19:42 +0200 Subject: [PATCH 1/2] Update docusaurus.config.js with more redirects --- docusaurus.config.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docusaurus.config.js b/docusaurus.config.js index b0fd957..8577350 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -77,14 +77,30 @@ const config = { to: '/hands-on/articles/intro-raspberry', from: '/hands-on-intro-raspberry', }, + { + to: '/hands-on/articles/intro-raspberry', + from: '/hands-on-intro-raspberry.html', + }, { to: '/hands-on/articles/exposed-thing', from: '/hands-on-exposed-thing-guide', }, + { + to: '/hands-on/articles/exposed-thing', + from: '/hands-on-exposed-thing-guide.html', + }, { to: '/hands-on/articles/smart-coffee-machine', from: '/smart-coffee-machine', }, + { + to: '/hands-on/articles/smart-coffee-machine', + from: '/smart-coffee-machine.html', + }, + { + to: '/services/', + from: '/services.html', + }, ], }, ], From ebf6a31c671e9fcf5bb2e8c255e7f43f6ae18cfc Mon Sep 17 00:00:00 2001 From: danielpeintner Date: Tue, 22 Oct 2024 17:24:16 +0200 Subject: [PATCH 2/2] Update root hands-on also --- docusaurus.config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docusaurus.config.js b/docusaurus.config.js index 8577350..dd8c35f 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -73,6 +73,14 @@ const config = { '@docusaurus/plugin-client-redirects', { redirects: [ + { + to: '/hands-on/articles', + from: '/hands-on', + }, + { + to: '/hands-on/articles', + from: '/hands-on.html', + }, { to: '/hands-on/articles/intro-raspberry', from: '/hands-on-intro-raspberry',