From 84414479e4a9efd1d0ca3b3f2356c448218fede6 Mon Sep 17 00:00:00 2001 From: Arista Indrajaya Date: Wed, 6 Mar 2024 20:12:46 +0700 Subject: [PATCH] docs: fix the broken link -> redirect to the right paths --- docs/docusaurus.config.js | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 9adc71bda..cd6078327 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -74,6 +74,38 @@ const config = { from: "/guides/troubleshooting/gpu-not-used/", to: "/guides/common-error/not-using-gpu/", }, + { + from: "/guides/troubleshooting/", + to: "/guides/error-codes/", + }, + { + from: "/troubleshooting/stuck-on-broken-build/", + to: "/guides/common-error/broken-build/", + }, + { + from: "/guides/troubleshooting/", + to: "/guides/error-codes/", + }, + { + from: "/troubleshooting/somethings-amiss/", + to: "/guides/error-codes/something-amiss/", + }, + { + from: "/troubleshooting/how-to-get-error-logs/", + to: "/guides/error-codes/how-to-get-error-logs/", + }, + { + from: "/troubleshooting/permission-denied/", + to: "/guides/error-codes/permission-denied/", + }, + { + from: "/troubleshooting/unexpected-token/", + to: "/guides/error-codes/unexpected-token/", + }, + { + from: "/troubleshooting/undefined-issue/", + to: "/guides/error-codes/undefined-issue/", + }, ], }, ],