refactor: docs url structure
@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
title: About Jan
|
|
||||||
slug: /about
|
|
||||||
---
|
|
||||||
|
|
||||||
## Problem
|
|
||||||
|
|
||||||
## Ideal Customer Persona
|
|
||||||
|
|
||||||
## Business Model
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
---
|
|
||||||
title: Brand Assets
|
|
||||||
---
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
title: Team
|
|
||||||
---
|
|
||||||
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
sidebar_position: 1
|
|
||||||
title: Changelog
|
|
||||||
---
|
|
||||||
|
|
||||||
TODO
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
sidebar_position: 1
|
|
||||||
title: Getting Started
|
|
||||||
---
|
|
||||||
|
|
||||||
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 |
@ -1,10 +1,11 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 1
|
sidebar_position: 3
|
||||||
title: App Anatomy
|
title: App Anatomy
|
||||||
---
|
---
|
||||||
|
|
||||||
Platform has 3 events that are broadcast to installed Apps
|
Platform has 3 events that are broadcast to installed Apps
|
||||||

|

|
||||||
|
|
||||||
- onLaunch()
|
- onLaunch()
|
||||||

|

|
||||||
- onStart()
|
- onStart()
|
||||||
@ -1,9 +1,10 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 1
|
sidebar_position: 2
|
||||||
title: Concepts
|
title: Concepts
|
||||||
---
|
---
|
||||||
|
|
||||||
## Concepts
|
## Concepts
|
||||||
|
|
||||||
- Jan Platform: Desktop app/ Cloud native SaaS that can run on Linux, Windows, Mac or even Server that comes with extensibilities, toolbox and state of the art but optimized models for next gen App.
|
- Jan Platform: Desktop app/ Cloud native SaaS that can run on Linux, Windows, Mac or even Server that comes with extensibilities, toolbox and state of the art but optimized models for next gen App.
|
||||||
- Jan App: Next gen App built on Jan Plaform as `portable intelligence` that can be run everywhere.
|
- Jan App: Next gen App built on Jan Plaform as `portable intelligence` that can be run everywhere.
|
||||||
- Models:
|
- Models:
|
||||||
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
sidebar_position: 1
|
|
||||||
title: Overview
|
|
||||||
slug: /platform
|
|
||||||
---
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
---
|
|
||||||
title: Jan Desktop
|
|
||||||
---
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
---
|
|
||||||
title: Jan Mobile
|
|
||||||
---
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
title: Products
|
|
||||||
slug: /product
|
|
||||||
---
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
---
|
|
||||||
title: Jan Server
|
|
||||||
---
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
---
|
|
||||||
title: Education
|
|
||||||
---
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
---
|
|
||||||
title: Finance
|
|
||||||
---
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
---
|
|
||||||
title: Healthcare
|
|
||||||
---
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
---
|
|
||||||
title: Law
|
|
||||||
---
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
---
|
|
||||||
title: Public Sector
|
|
||||||
---
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
---
|
|
||||||
title: Software Engineering
|
|
||||||
---
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
---
|
|
||||||
title: Personal AI
|
|
||||||
---
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
---
|
|
||||||
title: Self-Hosted ChatGPT
|
|
||||||
---
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
title: Overview
|
|
||||||
slug: /solutions
|
|
||||||
---
|
|
||||||
@ -124,12 +124,6 @@ const config = {
|
|||||||
// position: "left",
|
// position: "left",
|
||||||
// label: "Platform",
|
// label: "Platform",
|
||||||
// },
|
// },
|
||||||
// {
|
|
||||||
// type: "docSidebar",
|
|
||||||
// sidebarId: "solutionsSidebar",
|
|
||||||
// position: "left",
|
|
||||||
// label: "Solutions",
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
type: "docSidebar",
|
type: "docSidebar",
|
||||||
sidebarId: "companySidebar",
|
sidebarId: "companySidebar",
|
||||||
@ -137,28 +131,18 @@ const config = {
|
|||||||
label: "Company",
|
label: "Company",
|
||||||
},
|
},
|
||||||
// Navbar right
|
// Navbar right
|
||||||
// {
|
|
||||||
// type: "docSidebar",
|
|
||||||
// sidebarId: "guidesSidebar",
|
|
||||||
// position: "right",
|
|
||||||
// label: "Guides",
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
type: "docSidebar",
|
type: "docSidebar",
|
||||||
sidebarId: "docsSidebar",
|
sidebarId: "guidesSidebar",
|
||||||
|
position: "right",
|
||||||
|
label: "Guides",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "docSidebar",
|
||||||
|
sidebarId: "devSidebar",
|
||||||
position: "right",
|
position: "right",
|
||||||
label: "Developer",
|
label: "Developer",
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// position: "right",
|
|
||||||
// label: "API",
|
|
||||||
// to: "/api",
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// href: "https://github.com/janhq/jan",
|
|
||||||
// label: "GitHub",
|
|
||||||
// position: "right",
|
|
||||||
// },
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
prism: {
|
prism: {
|
||||||
|
|||||||
109
docs/sidebars.js
@ -4,7 +4,7 @@
|
|||||||
- render a sidebar for each doc of that group
|
- render a sidebar for each doc of that group
|
||||||
- provide next/previous navigation
|
- provide next/previous navigation
|
||||||
|
|
||||||
The sidebars can be generated from the filesystem, or explicitly defined here.
|
The sidebars are explicitly defined here.
|
||||||
|
|
||||||
Create as many sidebars as you want.
|
Create as many sidebars as you want.
|
||||||
*/
|
*/
|
||||||
@ -13,19 +13,7 @@
|
|||||||
|
|
||||||
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
|
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
|
||||||
const sidebars = {
|
const sidebars = {
|
||||||
// By default, Docusaurus generates a sidebar from the docs folder structure
|
|
||||||
|
|
||||||
// But you can create a sidebar manually
|
|
||||||
featuresSidebar: [
|
featuresSidebar: [
|
||||||
"platform/platform",
|
|
||||||
{
|
|
||||||
type: "category",
|
|
||||||
label: "Products",
|
|
||||||
collapsible: true,
|
|
||||||
collapsed: false,
|
|
||||||
link: { type: "doc", id: "products/products" },
|
|
||||||
items: ["products/desktop", "products/mobile", "products/server"],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
type: "category",
|
type: "category",
|
||||||
label: "Features",
|
label: "Features",
|
||||||
@ -41,33 +29,24 @@ const sidebars = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
// Note: Tab name is "Use Cases"
|
// Autogenerate docs from /guides
|
||||||
solutionsSidebar: [
|
guidesSidebar: [
|
||||||
// "solutions/solutions",
|
|
||||||
{
|
{
|
||||||
type: "category",
|
type: "category",
|
||||||
label: "Solutions",
|
label: "Guides",
|
||||||
collapsible: true,
|
collapsible: true,
|
||||||
collapsed: false,
|
collapsed: true,
|
||||||
items: ["solutions/self-hosted", "solutions/personal-ai"],
|
items: [
|
||||||
|
{
|
||||||
|
type: "autogenerated",
|
||||||
|
dirName: "guides",
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// type: "category",
|
|
||||||
// label: "Industries",
|
|
||||||
// collapsible: true,
|
|
||||||
// collapsed: false,
|
|
||||||
// items: [
|
|
||||||
// "solutions/industries/software",
|
|
||||||
// "solutions/industries/education",
|
|
||||||
// "solutions/industries/law",
|
|
||||||
// "solutions/industries/public-sector",
|
|
||||||
// "solutions/industries/finance",
|
|
||||||
// "solutions/industries/healthcare",
|
|
||||||
// ],
|
|
||||||
// },
|
|
||||||
],
|
],
|
||||||
|
|
||||||
docsSidebar: [
|
//
|
||||||
|
devSidebar: [
|
||||||
{
|
{
|
||||||
type: "category",
|
type: "category",
|
||||||
label: "Overview",
|
label: "Overview",
|
||||||
@ -75,19 +54,8 @@ const sidebars = {
|
|||||||
collapsed: false,
|
collapsed: false,
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
type: "doc",
|
type: "autogenerated",
|
||||||
label: "Architecture",
|
dirName: "overview",
|
||||||
id: "docs/overview/architecture",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "doc",
|
|
||||||
label: "Concepts",
|
|
||||||
id: "docs/overview/concepts",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "doc",
|
|
||||||
label: "App Anatomy",
|
|
||||||
id: "docs/overview/app_anatomy",
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -98,19 +66,8 @@ const sidebars = {
|
|||||||
collapsed: false,
|
collapsed: false,
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
type: "doc",
|
type: "autogenerated",
|
||||||
label: "@janhq/core",
|
dirName: "reference",
|
||||||
id: "docs/reference/coreservice",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "doc",
|
|
||||||
label: "@janhq/models",
|
|
||||||
id: "docs/reference/models_catalog",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "doc",
|
|
||||||
label: "@janhq/plugins",
|
|
||||||
id: "docs/reference/plugins_catalog",
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -121,19 +78,8 @@ const sidebars = {
|
|||||||
collapsed: false,
|
collapsed: false,
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
type: "doc",
|
type: "autogenerated",
|
||||||
label: "How to Build a Chat App",
|
dirName: "tutorials",
|
||||||
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",
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -146,27 +92,12 @@ const sidebars = {
|
|||||||
{
|
{
|
||||||
type: "doc",
|
type: "doc",
|
||||||
label: "Nitro",
|
label: "Nitro",
|
||||||
id: "docs/articles/nitro",
|
id: "articles/nitro",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
// guidesSidebar: [
|
|
||||||
// {
|
|
||||||
// type: "category",
|
|
||||||
// label: "Overview",
|
|
||||||
// collapsible: true,
|
|
||||||
// collapsed: true,
|
|
||||||
// items: [
|
|
||||||
// {
|
|
||||||
// type: "doc",
|
|
||||||
// label: "architecture",
|
|
||||||
// id: "docs/overview/architecture",
|
|
||||||
// },
|
|
||||||
// ],
|
|
||||||
// },
|
|
||||||
// ],
|
|
||||||
companySidebar: [
|
companySidebar: [
|
||||||
// {
|
// {
|
||||||
// type: "category",
|
// type: "category",
|
||||||
|
|||||||