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
|
// Navbar Left
|
||||||
{
|
{
|
||||||
type: "docSidebar",
|
type: "docSidebar",
|
||||||
sidebarId: "docsSidebar",
|
sidebarId: "guidesSidebar",
|
||||||
position: "left",
|
position: "left",
|
||||||
label: "Documentation",
|
label: "Guides",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: "docSidebar",
|
||||||
|
sidebarId: "developerSidebar",
|
||||||
|
position: "left",
|
||||||
|
label: "Developer",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
position: "left",
|
position: "left",
|
||||||
to: "/api-reference",
|
to: "/api-reference",
|
||||||
label: "API Reference",
|
label: "API Reference",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: "docSidebar",
|
||||||
|
position: "left",
|
||||||
|
sidebarId: "specsSidebar",
|
||||||
|
label: "Specs",
|
||||||
|
},
|
||||||
// Navbar right
|
// Navbar right
|
||||||
|
{
|
||||||
|
type: "docSidebar",
|
||||||
|
position: "right",
|
||||||
|
sidebarId: "communitySidebar",
|
||||||
|
label: "Community",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
to: "blog",
|
to: "blog",
|
||||||
label: "Blog",
|
label: "Blog",
|
||||||
|
|||||||
108
docs/sidebars.js
108
docs/sidebars.js
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
|
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
|
||||||
const sidebars = {
|
const sidebars = {
|
||||||
docsSidebar: [
|
guidesSidebar: [
|
||||||
{
|
{
|
||||||
type: "category",
|
type: "category",
|
||||||
label: "Introduction",
|
label: "Introduction",
|
||||||
@ -42,43 +42,14 @@ const sidebars = {
|
|||||||
collapsed: true,
|
collapsed: true,
|
||||||
items: ["docs/models", "docs/server"],
|
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: [
|
apiSidebar: [
|
||||||
@ -97,17 +68,53 @@ const sidebars = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
aboutSidebar: [
|
specsSidebar: [
|
||||||
{
|
{
|
||||||
type: "doc",
|
type: "category",
|
||||||
label: "About Jan",
|
label: "Overview",
|
||||||
id: "about/about",
|
collapsible: true,
|
||||||
|
collapsed: false,
|
||||||
|
items: [
|
||||||
|
"specs/architecture",
|
||||||
|
"specs/data-structures",
|
||||||
|
"specs/user-interface",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "link",
|
type: "category",
|
||||||
label: "Careers",
|
label: "Product",
|
||||||
href: "https://janai.bamboohr.com/careers",
|
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",
|
type: "category",
|
||||||
label: "Events",
|
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",
|
type: "category",
|
||||||
label: "Company Handbook",
|
label: "Company Handbook",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user