Refactor Jan Site Structure
This commit is contained in:
parent
6110de4861
commit
24d2bfb609
5
docs/docs/community/community.md
Normal file
5
docs/docs/community/community.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
title: Community
|
||||
---
|
||||
|
||||
- [ ] Social media links
|
||||
3
docs/docs/specs/home.md
Normal file
3
docs/docs/specs/home.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Home
|
||||
---
|
||||
3
docs/docs/specs/hub.md
Normal file
3
docs/docs/specs/hub.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: Hub
|
||||
---
|
||||
3
docs/docs/specs/system-monitor.md
Normal file
3
docs/docs/specs/system-monitor.md
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
title: System Monitor
|
||||
---
|
||||
@ -141,16 +141,34 @@ const config = {
|
||||
// Navbar Left
|
||||
{
|
||||
type: "docSidebar",
|
||||
sidebarId: "docsSidebar",
|
||||
sidebarId: "guidesSidebar",
|
||||
position: "left",
|
||||
label: "Documentation",
|
||||
label: "Guides",
|
||||
},
|
||||
{
|
||||
type: "docSidebar",
|
||||
sidebarId: "developerSidebar",
|
||||
position: "left",
|
||||
label: "Developer",
|
||||
},
|
||||
{
|
||||
position: "left",
|
||||
to: "/api-reference",
|
||||
label: "API Reference",
|
||||
},
|
||||
{
|
||||
type: "docSidebar",
|
||||
position: "left",
|
||||
sidebarId: "specsSidebar",
|
||||
label: "Specs",
|
||||
},
|
||||
// Navbar right
|
||||
{
|
||||
type: "docSidebar",
|
||||
position: "right",
|
||||
sidebarId: "communitySidebar",
|
||||
label: "Community",
|
||||
},
|
||||
{
|
||||
to: "blog",
|
||||
label: "Blog",
|
||||
|
||||
108
docs/sidebars.js
108
docs/sidebars.js
@ -13,7 +13,7 @@
|
||||
|
||||
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
|
||||
const sidebars = {
|
||||
docsSidebar: [
|
||||
guidesSidebar: [
|
||||
{
|
||||
type: "category",
|
||||
label: "Introduction",
|
||||
@ -42,43 +42,14 @@ const sidebars = {
|
||||
collapsed: true,
|
||||
items: ["docs/models", "docs/server"],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Extending Jan",
|
||||
link: { type: "doc", id: "docs/extensions" },
|
||||
collapsible: true,
|
||||
collapsed: true,
|
||||
items: ["docs/assistants", "docs/themes", "docs/tools", "docs/modules"],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Building Jan",
|
||||
collapsible: true,
|
||||
collapsed: true,
|
||||
items: [
|
||||
"specs/architecture",
|
||||
"specs/data-structures",
|
||||
"specs/user-interface",
|
||||
{
|
||||
type: "category",
|
||||
label: "Specifications",
|
||||
collapsible: true,
|
||||
collapsed: false,
|
||||
items: [
|
||||
"specs/chats",
|
||||
"specs/models",
|
||||
"specs/threads",
|
||||
"specs/messages",
|
||||
// "specs/assistants",
|
||||
// "specs/files",
|
||||
// "specs/jan",
|
||||
// "specs/fine-tuning",
|
||||
// "specs/settings",
|
||||
// "specs/prompts",
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
developerSidebar: [
|
||||
"docs/extensions",
|
||||
"docs/assistants",
|
||||
"docs/themes",
|
||||
"docs/tools",
|
||||
"docs/modules",
|
||||
],
|
||||
|
||||
apiSidebar: [
|
||||
@ -97,17 +68,53 @@ const sidebars = {
|
||||
},
|
||||
],
|
||||
|
||||
aboutSidebar: [
|
||||
specsSidebar: [
|
||||
{
|
||||
type: "doc",
|
||||
label: "About Jan",
|
||||
id: "about/about",
|
||||
type: "category",
|
||||
label: "Overview",
|
||||
collapsible: true,
|
||||
collapsed: false,
|
||||
items: [
|
||||
"specs/architecture",
|
||||
"specs/data-structures",
|
||||
"specs/user-interface",
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
label: "Careers",
|
||||
href: "https://janai.bamboohr.com/careers",
|
||||
type: "category",
|
||||
label: "Product",
|
||||
collapsible: true,
|
||||
collapsed: false,
|
||||
items: [
|
||||
"specs/home",
|
||||
"specs/hub",
|
||||
"specs/system-monitor",
|
||||
"specs/settings",
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
type: "category",
|
||||
label: "Engineering",
|
||||
collapsible: true,
|
||||
collapsed: false,
|
||||
items: [
|
||||
"specs/chats",
|
||||
"specs/models",
|
||||
"specs/threads",
|
||||
"specs/messages",
|
||||
// "specs/assistants",
|
||||
// "specs/files",
|
||||
// "specs/jan",
|
||||
// "specs/fine-tuning",
|
||||
// "specs/settings",
|
||||
// "specs/prompts",
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
communitySidebar: [
|
||||
"community/community",
|
||||
{
|
||||
type: "category",
|
||||
label: "Events",
|
||||
@ -122,6 +129,19 @@ const sidebars = {
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
aboutSidebar: [
|
||||
{
|
||||
type: "doc",
|
||||
label: "About Jan",
|
||||
id: "about/about",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
label: "Careers",
|
||||
href: "https://janai.bamboohr.com/careers",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Company Handbook",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user