refactor: tabs
This commit is contained in:
parent
b98dfde7a7
commit
ca677f2411
@ -1,7 +1,6 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
title: Getting Started
|
||||
slug: /guides
|
||||
---
|
||||
|
||||
TODO
|
||||
@ -1,5 +1,3 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
title: Overview
|
||||
slug: /features
|
||||
title: Features
|
||||
---
|
||||
@ -1,6 +0,0 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
title: Installing Jan
|
||||
slug: /install
|
||||
---
|
||||
|
||||
5
docs/docs/platform/platform.md
Normal file
5
docs/docs/platform/platform.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
title: Overview
|
||||
slug: /platform
|
||||
---
|
||||
@ -1,4 +0,0 @@
|
||||
---
|
||||
title: Platform
|
||||
slug: /platform
|
||||
---
|
||||
4
docs/docs/products/products.md
Normal file
4
docs/docs/products/products.md
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Products
|
||||
slug: /product
|
||||
---
|
||||
@ -1,3 +0,0 @@
|
||||
---
|
||||
title: Enterprise AI Platform
|
||||
---
|
||||
3
docs/docs/solutions/industries/education.md
Normal file
3
docs/docs/solutions/industries/education.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Education
|
||||
---
|
||||
3
docs/docs/solutions/industries/finance.md
Normal file
3
docs/docs/solutions/industries/finance.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Finance
|
||||
---
|
||||
3
docs/docs/solutions/industries/healthcare.md
Normal file
3
docs/docs/solutions/industries/healthcare.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Healthcare
|
||||
---
|
||||
3
docs/docs/solutions/industries/law.md
Normal file
3
docs/docs/solutions/industries/law.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Law
|
||||
---
|
||||
3
docs/docs/solutions/industries/public-sector.md
Normal file
3
docs/docs/solutions/industries/public-sector.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Public Sector
|
||||
---
|
||||
3
docs/docs/solutions/self-hosted.md
Normal file
3
docs/docs/solutions/self-hosted.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Self-hosted ChatGPT
|
||||
---
|
||||
@ -1,4 +1,4 @@
|
||||
---
|
||||
title: Solutions
|
||||
title: Overview
|
||||
slug: /solutions
|
||||
---
|
||||
@ -48,7 +48,6 @@ const config = {
|
||||
sidebarPath: require.resolve('./sidebars.js'),
|
||||
editUrl:
|
||||
'https://github.com/janhq/jan/tree/main/docs',
|
||||
sidebarCollapsed: false,
|
||||
showLastUpdateAuthor: true,
|
||||
showLastUpdateTime: true,
|
||||
},
|
||||
@ -109,13 +108,19 @@ const config = {
|
||||
type: 'docSidebar',
|
||||
sidebarId: 'featuresSidebar',
|
||||
position: 'left',
|
||||
label: 'Features',
|
||||
label: 'Platform',
|
||||
},
|
||||
{
|
||||
type: 'docSidebar',
|
||||
sidebarId: 'guidesSidebar',
|
||||
sidebarId: 'solutionsSidebar',
|
||||
position: 'left',
|
||||
label: 'Guides',
|
||||
label: 'Use Cases',
|
||||
},
|
||||
{
|
||||
type: 'docSidebar',
|
||||
sidebarId: 'docsSidebar',
|
||||
position: 'left',
|
||||
label: 'Docs',
|
||||
},
|
||||
{
|
||||
type: 'docSidebar',
|
||||
|
||||
@ -20,64 +20,74 @@ const sidebars = {
|
||||
|
||||
// But you can create a sidebar manually
|
||||
featuresSidebar: [
|
||||
'features/features',
|
||||
'platform/platform',
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Platforms',
|
||||
label: 'Products',
|
||||
collapsible: true,
|
||||
collapsed: true,
|
||||
link: { type: 'doc', id: 'platforms/platform' },
|
||||
collapsed: false,
|
||||
link: { type: 'doc', id: 'products/products' },
|
||||
items: [
|
||||
'platforms/desktop',
|
||||
'platforms/mobile',
|
||||
'platforms/server'
|
||||
'products/desktop',
|
||||
'products/mobile',
|
||||
'products/server'
|
||||
]
|
||||
},
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Features',
|
||||
collapsible: true,
|
||||
collapsed: true,
|
||||
collapsed: false,
|
||||
link: { type: 'doc', id: 'features/features' },
|
||||
items: [
|
||||
'features/self-hosted',
|
||||
'features/acceleration',
|
||||
'features/extensions',
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
// Note: Tab name is "Use Cases"
|
||||
solutionsSidebar: [
|
||||
'solutions/solutions',
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Use cases',
|
||||
collapsible: true,
|
||||
collapsed: false,
|
||||
items: [
|
||||
'solutions/personal-ai',
|
||||
'solutions/self-hosted'
|
||||
]
|
||||
},
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Solutions',
|
||||
label: 'Industries',
|
||||
collapsible: true,
|
||||
collapsed: true,
|
||||
collapsed: false,
|
||||
items: [
|
||||
'solutions/personal-ai',
|
||||
'solutions/enterprise'
|
||||
'solutions/industries/public-sector',
|
||||
'solutions/industries/education',
|
||||
'solutions/industries/finance',
|
||||
'solutions/industries/law',
|
||||
'solutions/industries/healthcare',
|
||||
]
|
||||
},
|
||||
}
|
||||
],
|
||||
|
||||
guidesSidebar: [
|
||||
{ type: 'doc', label: "Overview", id: 'guides/guides' },
|
||||
docsSidebar: [
|
||||
{ type: 'doc', label: "Getting Started", id: 'docs/docs' },
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Install',
|
||||
collapsible: true,
|
||||
collapsed: true,
|
||||
collapsed: false,
|
||||
items: [
|
||||
{ type: 'doc', label: 'Overview', id: 'guides/install/install' },
|
||||
{ type: 'doc', label: 'Windows', id: 'guides/install/windows' },
|
||||
{ type: 'doc', label: 'Mac', id: 'guides/install/mac' },
|
||||
{ type: 'doc', label: 'Linux', id: 'guides/install/linux' },
|
||||
{ type: 'doc', label: 'Windows', id: 'docs/install/windows' },
|
||||
{ type: 'doc', label: 'Mac', id: 'docs/install/mac' },
|
||||
{ type: 'doc', label: 'Linux', id: 'docs/install/linux' },
|
||||
]
|
||||
},
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Running as Server',
|
||||
collapsible: true,
|
||||
collapsed: true,
|
||||
items: [
|
||||
{ type: 'doc', label: 'Overview', id: 'guides/install/install' },
|
||||
]
|
||||
},
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user