docs: redirect the broken link to the new docs structure links

This commit is contained in:
Arista Indrajaya 2024-03-18 15:56:05 +07:00
parent 5b11c6ba7c
commit 7837c4597e

View File

@ -67,43 +67,43 @@ const config = {
redirects: [ redirects: [
{ {
from: '/troubleshooting/failed-to-fetch', from: '/troubleshooting/failed-to-fetch',
to: '/guides/error-codes/something-amiss/', to: '/troubleshooting/',
}, },
{ {
from: '/guides/troubleshooting/gpu-not-used/', from: '/guides/troubleshooting/gpu-not-used/',
to: '/guides/common-error/not-using-gpu/', to: '/troubleshooting/',
}, },
{ {
from: '/guides/troubleshooting/', from: '/guides/troubleshooting/',
to: '/guides/error-codes/', to: '/troubleshooting/',
}, },
{ {
from: '/troubleshooting/stuck-on-broken-build/', from: '/troubleshooting/stuck-on-broken-build/',
to: '/guides/common-error/broken-build/', to: '/troubleshooting/',
}, },
{ {
from: '/guides/troubleshooting/', from: '/guides/troubleshooting/',
to: '/guides/error-codes/', to: '/troubleshooting/',
}, },
{ {
from: '/troubleshooting/somethings-amiss/', from: '/troubleshooting/somethings-amiss/',
to: '/guides/error-codes/something-amiss/', to: '/troubleshooting/',
}, },
{ {
from: '/troubleshooting/how-to-get-error-logs/', from: '/troubleshooting/how-to-get-error-logs/',
to: '/guides/error-codes/how-to-get-error-logs/', to: '/troubleshooting/',
}, },
{ {
from: '/troubleshooting/permission-denied/', from: '/troubleshooting/permission-denied/',
to: '/guides/error-codes/permission-denied/', to: '/troubleshooting/',
}, },
{ {
from: '/troubleshooting/unexpected-token/', from: '/troubleshooting/unexpected-token/',
to: '/guides/error-codes/unexpected-token/', to: '/troubleshooting/',
}, },
{ {
from: '/troubleshooting/undefined-issue/', from: '/troubleshooting/undefined-issue/',
to: '/guides/error-codes/undefined-issue/', to: '/troubleshooting/',
}, },
{ {
from: '/install/', from: '/install/',
@ -111,11 +111,11 @@ const config = {
}, },
{ {
from: '/guides/using-models/', from: '/guides/using-models/',
to: '/guides/models-setup/', to: '/guides/models/',
}, },
{ {
from: '/guides/using-extensions/', from: '/guides/using-extensions/',
to: '/guides/extensions/', to: '/extensions/',
}, },
], ],
}, },