docs: add company and not collapse secs by default

This commit is contained in:
0xSage 2023-08-24 17:28:51 +08:00
parent 2e636d8fd6
commit 6d76f7a105
17 changed files with 73 additions and 8 deletions

View File

@ -1,6 +1,4 @@
--- ---
sidebar_position: 1 sidebar_position: 1
title: Overview
--- ---
# Company Handbook
TODO

View File

@ -0,0 +1,5 @@
---
title: Story
---
TODO: a month by month recap

View File

@ -0,0 +1,3 @@
---
title: Team
---

View File

@ -0,0 +1,7 @@
{
"label": "Company",
"position": 2,
"link": {
"type": "generated-index"
}
}

View File

@ -0,0 +1,3 @@
---
title: How We Work
---

View File

@ -0,0 +1,3 @@
---
title: Team Structure
---

View File

@ -0,0 +1,7 @@
{
"label": "Handbook",
"position": 5,
"link": {
"type": "generated-index"
}
}

View File

@ -0,0 +1,7 @@
{
"label": "Roadmap",
"position": 4,
"link": {
"type": "generated-index"
}
}

View File

@ -0,0 +1,3 @@
---
title: Roadmap
---

View File

@ -0,0 +1,4 @@
---
title: Mission & Vision
---

View File

@ -0,0 +1,4 @@
---
title: Customer Persona
---

View File

@ -0,0 +1,3 @@
---
title: Business Model
---

View File

@ -0,0 +1,3 @@
---
title: Brand
---

View File

@ -0,0 +1,3 @@
---
title: OKRs
---

View File

@ -0,0 +1,7 @@
{
"label": "Strategy",
"position": 3,
"link": {
"type": "generated-index"
}
}

View File

@ -44,6 +44,7 @@ const config = {
sidebarPath: require.resolve('./sidebars.js'), sidebarPath: require.resolve('./sidebars.js'),
editUrl: editUrl:
'https://github.com/janhq/jan/docs', 'https://github.com/janhq/jan/docs',
sidebarCollapsed: false,
showLastUpdateAuthor: true, showLastUpdateAuthor: true,
showLastUpdateTime: true, showLastUpdateTime: true,
}, },
@ -104,9 +105,9 @@ const config = {
}, },
{ {
type: 'docSidebar', type: 'docSidebar',
sidebarId: 'companySidebar', sidebarId: 'aboutSidebar',
position: 'right', position: 'right',
label: 'Company', label: 'About',
}, },
// Navbar right // Navbar right
{ {
@ -151,6 +152,10 @@ const config = {
label: 'Discord', label: 'Discord',
href: 'https://discord.gg/FTk2MvZwJH', href: 'https://discord.gg/FTk2MvZwJH',
}, },
{
label: 'Telegram',
href: 'https://t.me/+cSSlxwEM-0piMDQ1',
},
{ {
label: 'Twitter', label: 'Twitter',
href: 'https://twitter.com/askjanai', href: 'https://twitter.com/askjanai',
@ -161,8 +166,8 @@ const config = {
title: 'More', title: 'More',
items: [ items: [
{ {
label: 'Company', label: 'About',
to: '/company', to: '/about',
}, },
{ {
label: 'Blog', label: 'Blog',

View File

@ -21,7 +21,7 @@ const sidebars = {
developerSidebar: [{ type: 'autogenerated', dirName: 'developer' }], developerSidebar: [{ type: 'autogenerated', dirName: 'developer' }],
referenceSidebar: [{ type: 'autogenerated', dirName: 'reference' }], referenceSidebar: [{ type: 'autogenerated', dirName: 'reference' }],
changelogSidebar: [{ type: 'autogenerated', dirName: 'changelog' }], changelogSidebar: [{ type: 'autogenerated', dirName: 'changelog' }],
companySidebar: [{ type: 'autogenerated', dirName: 'company' }], aboutSidebar: [{ type: 'autogenerated', dirName: 'about' }],
// But you can create a sidebar manually // But you can create a sidebar manually
/* /*