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

View File

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