Merge branch 'dev' into docs-pena-team-fix-redirect
This commit is contained in:
commit
35c9c1bd71
@ -104,7 +104,7 @@ const config = {
|
|||||||
{
|
{
|
||||||
from: "/troubleshooting/undefined-issue/",
|
from: "/troubleshooting/undefined-issue/",
|
||||||
to: "/guides/error-codes/undefined-issue/",
|
to: "/guides/error-codes/undefined-issue/",
|
||||||
}, {
|
}, {
|
||||||
from: "/install/",
|
from: "/install/",
|
||||||
to: "/guides/install/",
|
to: "/guides/install/",
|
||||||
},
|
},
|
||||||
@ -122,6 +122,18 @@ const config = {
|
|||||||
|
|
||||||
//To input custom Plugin
|
//To input custom Plugin
|
||||||
path.resolve(__dirname, 'plugins', 'changelog-plugin'),
|
path.resolve(__dirname, 'plugins', 'changelog-plugin'),
|
||||||
|
[
|
||||||
|
'@scalar/docusaurus',
|
||||||
|
{
|
||||||
|
label: '',
|
||||||
|
route: '/api-reference',
|
||||||
|
configuration: {
|
||||||
|
spec: {
|
||||||
|
url: 'https://raw.githubusercontent.com/janhq/jan/dev/docs/openapi/jan.json',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
// 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.
|
||||||
@ -168,7 +180,7 @@ const config = {
|
|||||||
specs: [
|
specs: [
|
||||||
{
|
{
|
||||||
spec: "openapi/jan.yaml", // can be local file, url, or parsed json object
|
spec: "openapi/jan.yaml", // can be local file, url, or parsed json object
|
||||||
route: "/api-reference/", // path where to render docs
|
route: "/api-reference-1.0/", // path where to render docs
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
theme: {
|
theme: {
|
||||||
|
|||||||
2486
docs/openapi/jan.json
Normal file
2486
docs/openapi/jan.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -26,6 +26,7 @@
|
|||||||
"@heroicons/react": "^2.0.18",
|
"@heroicons/react": "^2.0.18",
|
||||||
"@mdx-js/react": "^3.0.0",
|
"@mdx-js/react": "^3.0.0",
|
||||||
"@redocly/cli": "^1.4.1",
|
"@redocly/cli": "^1.4.1",
|
||||||
|
"@scalar/docusaurus": "^0.1.3",
|
||||||
"autoprefixer": "^10.4.16",
|
"autoprefixer": "^10.4.16",
|
||||||
"axios": "^1.5.1",
|
"axios": "^1.5.1",
|
||||||
"clsx": "^1.2.1",
|
"clsx": "^1.2.1",
|
||||||
|
|||||||
1192
docs/yarn.lock
1192
docs/yarn.lock
File diff suppressed because it is too large
Load Diff
@ -50,27 +50,27 @@
|
|||||||
"sources": [
|
"sources": [
|
||||||
{
|
{
|
||||||
"filename": "config.json",
|
"filename": "config.json",
|
||||||
"url": "https://delta.jan.ai/dist/models/turing/windows/TinyJensen-1.1B-Chat-fp16/config.json"
|
"url": "https://delta.jan.ai/dist/models/<gpuarch>/<os>/TinyJensen-1.1B-Chat-fp16/config.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "rank0.engine",
|
"filename": "rank0.engine",
|
||||||
"url": "https://delta.jan.ai/dist/models/turing/windows/TinyJensen-1.1B-Chat-fp16/rank0.engine"
|
"url": "https://delta.jan.ai/dist/models/<gpuarch>/<os>/TinyJensen-1.1B-Chat-fp16/rank0.engine"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "tokenizer.model",
|
"filename": "tokenizer.model",
|
||||||
"url": "https://delta.jan.ai/dist/models/turing/windows/TinyJensen-1.1B-Chat-fp16/tokenizer.model"
|
"url": "https://delta.jan.ai/dist/models/<gpuarch>/<os>/TinyJensen-1.1B-Chat-fp16/tokenizer.model"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "special_tokens_map.json",
|
"filename": "special_tokens_map.json",
|
||||||
"url": "https://delta.jan.ai/dist/models/turing/windows/TinyJensen-1.1B-Chat-fp16/special_tokens_map.json"
|
"url": "https://delta.jan.ai/dist/models/<gpuarch>/<os>/TinyJensen-1.1B-Chat-fp16/special_tokens_map.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "tokenizer.json",
|
"filename": "tokenizer.json",
|
||||||
"url": "https://delta.jan.ai/dist/models/turing/windows/TinyJensen-1.1B-Chat-fp16/tokenizer.json"
|
"url": "https://delta.jan.ai/dist/models/<gpuarch>/<os>/TinyJensen-1.1B-Chat-fp16/tokenizer.json"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "tokenizer_config.json",
|
"filename": "tokenizer_config.json",
|
||||||
"url": "https://delta.jan.ai/dist/models/turing/windows/TinyJensen-1.1B-Chat-fp16/tokenizer_config.json"
|
"url": "https://delta.jan.ai/dist/models/<gpuarch>/<os>/TinyJensen-1.1B-Chat-fp16/tokenizer_config.json"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"id": "tinyjensen-1.1b-chat-fp16",
|
"id": "tinyjensen-1.1b-chat-fp16",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user