docs: update troubleshooting and redirects old pages (#1492)

docs: update troubleshooting and redirects old pages
This commit is contained in:
Hieu 2024-01-10 13:30:52 +07:00 committed by GitHub
commit a69bba8c53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 741 additions and 624 deletions

View File

@ -1,7 +1,7 @@
--- ---
title: Failed to Fetch title: Something's amiss
slug: /troubleshooting/failed-to-fetch slug: /troubleshooting/somethings-amiss
description: Troubleshooting "Failed to Fetch" description: Troubleshooting "Something's amiss"
keywords: [ keywords: [
Jan AI, Jan AI,
Jan, Jan,
@ -16,7 +16,7 @@ keywords: [
] ]
--- ---
You may receive an "Error occured: Failed to Fetch" response when you first start chatting with a selected model. You may receive an "Something's amiss" response when you first start chatting with a selected model.
This may occur due to several reasons. Please follow these steps to resolve it: This may occur due to several reasons. Please follow these steps to resolve it:

View File

@ -1,5 +1,7 @@
--- ---
title: Jan is Not Using GPU title: Jan is Not Using GPU
slug: /troubleshooting/gpu-not-used
description: Jan is not using GPU
keywords: [ keywords: [
Jan AI, Jan AI,
Jan, Jan,

View File

@ -61,6 +61,21 @@ const config = {
enableInDevelopment: false, // optional enableInDevelopment: false, // optional
}, },
], ],
[
"@docusaurus/plugin-client-redirects",
{
redirects: [
{
from: "/troubleshooting/failed-to-fetch",
to: "/troubleshooting/somethings-amiss",
},
{
from: "/guides/troubleshooting/gpu-not-used/",
to: "/troubleshooting/gpu-not-used",
},
],
},
],
], ],
// The classic preset will relay each option entry to the respective sub plugin/theme. // The classic preset will relay each option entry to the respective sub plugin/theme.

View File

@ -15,6 +15,7 @@
}, },
"dependencies": { "dependencies": {
"@docusaurus/core": "^3.0.0", "@docusaurus/core": "^3.0.0",
"@docusaurus/plugin-client-redirects": "^3.0.0",
"@docusaurus/plugin-content-docs": "^3.0.0", "@docusaurus/plugin-content-docs": "^3.0.0",
"@docusaurus/preset-classic": "^3.0.0", "@docusaurus/preset-classic": "^3.0.0",
"@docusaurus/theme-live-codeblock": "^3.0.0", "@docusaurus/theme-live-codeblock": "^3.0.0",

File diff suppressed because it is too large Load Diff