refactor: new devhub layout
6
docs/docs/docs/articles/nitro.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 1
|
||||||
|
title: Nitro
|
||||||
|
---
|
||||||
|
|
||||||
|
TODO
|
||||||
6
docs/docs/docs/overview/architecture.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 1
|
||||||
|
title: Architecture
|
||||||
|
---
|
||||||
|
|
||||||
|
TODO
|
||||||
0
docs/docs/docs/overview/concepts.md
Normal file
0
docs/docs/docs/reference/coreservice.md
Normal file
6
docs/docs/docs/tutorials/build-jan-app.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 1
|
||||||
|
title: How to Build a Jan App
|
||||||
|
---
|
||||||
|
|
||||||
|
TODO
|
||||||
6
docs/docs/docs/tutorials/build-rag-app.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 2
|
||||||
|
title: How to Build RAG App
|
||||||
|
---
|
||||||
|
|
||||||
|
TODO
|
||||||
6
docs/docs/docs/tutorials/publish-jan-app.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
sidebar_position: 3
|
||||||
|
title: How to Publish a Jan App
|
||||||
|
---
|
||||||
|
|
||||||
|
TODO
|
||||||
|
Before Width: | Height: | Size: 388 KiB After Width: | Height: | Size: 388 KiB |
|
Before Width: | Height: | Size: 945 KiB After Width: | Height: | Size: 945 KiB |
|
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 2.2 MiB |
|
Before Width: | Height: | Size: 453 KiB After Width: | Height: | Size: 453 KiB |
|
Before Width: | Height: | Size: 349 KiB After Width: | Height: | Size: 349 KiB |
|
Before Width: | Height: | Size: 553 KiB After Width: | Height: | Size: 553 KiB |
|
Before Width: | Height: | Size: 636 KiB After Width: | Height: | Size: 636 KiB |
@ -139,16 +139,16 @@ const config = {
|
|||||||
// Navbar right
|
// Navbar right
|
||||||
// {
|
// {
|
||||||
// type: "docSidebar",
|
// type: "docSidebar",
|
||||||
// sidebarId: "docsSidebar",
|
// sidebarId: "guidesSidebar",
|
||||||
// position: "right",
|
// position: "right",
|
||||||
// label: "Docs",
|
// label: "Guides",
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// type: "docSidebar",
|
|
||||||
// sidebarId: "hardwareSidebar",
|
|
||||||
// position: "right",
|
|
||||||
// label: "Hardware",
|
|
||||||
// },
|
// },
|
||||||
|
{
|
||||||
|
type: "docSidebar",
|
||||||
|
sidebarId: "docsSidebar",
|
||||||
|
position: "right",
|
||||||
|
label: "Developer",
|
||||||
|
},
|
||||||
// {
|
// {
|
||||||
// position: "right",
|
// position: "right",
|
||||||
// label: "API",
|
// label: "API",
|
||||||
|
|||||||
168
docs/sidebars.js
@ -68,127 +68,95 @@ const sidebars = {
|
|||||||
],
|
],
|
||||||
|
|
||||||
docsSidebar: [
|
docsSidebar: [
|
||||||
{ type: "doc", label: "Getting Started", id: "docs/docs" },
|
|
||||||
{
|
{
|
||||||
type: "category",
|
type: "category",
|
||||||
label: "Install",
|
label: "Overview",
|
||||||
collapsible: true,
|
collapsible: true,
|
||||||
collapsed: false,
|
collapsed: false,
|
||||||
items: [
|
items: [
|
||||||
{ type: "doc", label: "Windows", id: "docs/install/windows" },
|
{
|
||||||
{ type: "doc", label: "Mac", id: "docs/install/mac" },
|
type: "doc",
|
||||||
{ type: "doc", label: "Linux", id: "docs/install/linux" },
|
label: "Architecture",
|
||||||
|
id: "docs/overview/architecture",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "doc",
|
||||||
|
label: "Concepts",
|
||||||
|
id: "docs/overview/concepts",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "category",
|
||||||
|
label: "Reference",
|
||||||
|
collapsible: true,
|
||||||
|
collapsed: false,
|
||||||
|
items: [
|
||||||
|
{
|
||||||
|
type: "doc",
|
||||||
|
label: "@janhq/core",
|
||||||
|
id: "docs/reference/coreservice",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "doc",
|
||||||
|
label: "@janhq/inference",
|
||||||
|
id: "docs/reference/coreservice",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "category",
|
||||||
|
label: "Tutorials",
|
||||||
|
collapsible: true,
|
||||||
|
collapsed: false,
|
||||||
|
items: [
|
||||||
|
{
|
||||||
|
type: "doc",
|
||||||
|
label: "How to Build a Chat App",
|
||||||
|
id: "docs/tutorials/build-jan-app",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "doc",
|
||||||
|
label: "How to Build a RAG App",
|
||||||
|
id: "docs/tutorials/build-rag-app",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "doc",
|
||||||
|
label: "How to Publish Apps on Jan",
|
||||||
|
id: "docs/tutorials/publish-jan-app",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "category",
|
||||||
|
label: "Articles",
|
||||||
|
collapsible: true,
|
||||||
|
collapsed: false,
|
||||||
|
items: [
|
||||||
|
{
|
||||||
|
type: "doc",
|
||||||
|
label: "Nitro",
|
||||||
|
id: "docs/articles/nitro",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
hardwareSidebar: [
|
// guidesSidebar: [
|
||||||
// {
|
// {
|
||||||
// type: "category",
|
// type: "category",
|
||||||
// label: "Overview",
|
// label: "Overview",
|
||||||
// collapsible: true,
|
// collapsible: true,
|
||||||
// collapsed: true,
|
// collapsed: true,
|
||||||
// link: { type: "doc", id: "hardware/hardware" },
|
|
||||||
// items: [
|
// items: [
|
||||||
// {
|
// {
|
||||||
// type: "doc",
|
// type: "doc",
|
||||||
// label: "Cloud vs. Self-Hosting",
|
// label: "architecture",
|
||||||
// id: "hardware/overview/cloud-vs-self-hosting",
|
// id: "docs/overview/architecture",
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// type: "doc",
|
|
||||||
// label: "CPUs vs. GPUs",
|
|
||||||
// id: "hardware/overview/cpu-vs-gpu",
|
|
||||||
// },
|
// },
|
||||||
// ],
|
// ],
|
||||||
// },
|
// },
|
||||||
// {
|
|
||||||
// type: "category",
|
|
||||||
// label: "Recommendations",
|
|
||||||
// collapsible: true,
|
|
||||||
// collapsed: false,
|
|
||||||
// items: [
|
|
||||||
// {
|
|
||||||
// type: "doc",
|
|
||||||
// label: "By Hardware",
|
|
||||||
// id: "hardware/recommendations/by-hardware",
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// type: "doc",
|
|
||||||
// label: "By Budget",
|
|
||||||
// id: "hardware/recommendations/by-budget",
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// type: "doc",
|
|
||||||
// label: "By Model",
|
|
||||||
// id: "hardware/recommendations/by-model",
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// type: "doc",
|
|
||||||
// label: "By Use Case",
|
|
||||||
// id: "hardware/recommendations/by-usecase",
|
|
||||||
// },
|
|
||||||
// ],
|
// ],
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// type: "category",
|
|
||||||
// label: "Anatomy of a Thinking Machine",
|
|
||||||
// collapsible: true,
|
|
||||||
// collapsed: true,
|
|
||||||
// link: { type: "doc", id: "hardware/concepts/concepts" },
|
|
||||||
// items: [
|
|
||||||
// {
|
|
||||||
// type: "doc",
|
|
||||||
// label: "Chassis",
|
|
||||||
// id: "hardware/concepts/chassis",
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// type: "doc",
|
|
||||||
// label: "Motherboard",
|
|
||||||
// id: "hardware/concepts/motherboard",
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// type: "doc",
|
|
||||||
// label: "CPU and RAM",
|
|
||||||
// id: "hardware/concepts/cpu-and-ram",
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// type: "doc",
|
|
||||||
// label: "GPU and VRAM",
|
|
||||||
// id: "hardware/concepts/gpu-and-vram",
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// type: "doc",
|
|
||||||
// label: "Storage",
|
|
||||||
// id: "hardware/concepts/storage",
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// type: "doc",
|
|
||||||
// label: "Network",
|
|
||||||
// id: "hardware/concepts/network",
|
|
||||||
// },
|
|
||||||
|
|
||||||
// {
|
|
||||||
// type: "doc",
|
|
||||||
// label: "Power Supply",
|
|
||||||
// id: "hardware/concepts/power",
|
|
||||||
// },
|
|
||||||
// ],
|
|
||||||
// },
|
|
||||||
{
|
|
||||||
type: "category",
|
|
||||||
label: "Hardware Examples",
|
|
||||||
collapsible: true,
|
|
||||||
collapsed: true,
|
|
||||||
link: { type: "doc", id: "hardware/community" },
|
|
||||||
items: [
|
|
||||||
{
|
|
||||||
type: "autogenerated",
|
|
||||||
dirName: "hardware/examples",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
companySidebar: [
|
companySidebar: [
|
||||||
// {
|
// {
|
||||||
// type: "category",
|
// type: "category",
|
||||||
|
|||||||