Initial refactor of About section

This commit is contained in:
Daniel 2023-11-04 09:08:01 +07:00
parent 4eb2567a55
commit ce37261133
6 changed files with 39 additions and 30 deletions

6
docs/docs/about/about.md Normal file
View File

@ -0,0 +1,6 @@
---
title: About Jan
---
- Mission, Vision, etc
- COSS Model

View File

@ -1,6 +1,5 @@
---
title: Internal Guidelines
sidebar_position: 6
title: Cookbook
---
# Internal Guidelines

View File

@ -1,4 +1,7 @@
---
title: Company Handbook
slug: /handbook
---
---
## Remote Work

View File

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

View File

@ -118,31 +118,25 @@ const config = {
},
items: [
// Navbar left
// {
// type: "docSidebar",
// sidebarId: "featuresSidebar",
// position: "left",
// label: "Platform",
// },
{
type: "docSidebar",
sidebarId: "companySidebar",
position: "left",
label: "Company",
},
// Navbar right
{
type: "docSidebar",
sidebarId: "guidesSidebar",
position: "right",
position: "left",
label: "User Guides",
},
{
type: "docSidebar",
sidebarId: "devSidebar",
position: "right",
position: "left",
label: "Developer",
},
// Navbar right
{
type: "docSidebar",
sidebarId: "aboutSidebar",
position: "right",
label: "About",
},
],
},
prism: {

View File

@ -110,7 +110,7 @@ const sidebars = {
// },
],
companySidebar: [
aboutSidebar: [
// {
// type: "category",
// label: "About Jan",
@ -126,6 +126,10 @@ const sidebars = {
// },
// ],
// },
{
type: "doc",
id: "about/about",
},
{
type: "category",
label: "Events",
@ -139,14 +143,20 @@ const sidebars = {
},
],
},
// {
// type: "category",
// label: "Company Handbook",
// collapsible: true,
// collapsed: true,
// link: { type: "doc", id: "handbook/handbook" },
// items: ["handbook/remote-work"],
// },
{
type: "category",
label: "Company Handbook",
collapsible: true,
collapsed: true,
link: { type: "doc", id: "handbook/handbook" },
items: [
{
type: "category",
label: "Engineering",
items: ["handbook/engineering/internal"],
},
],
},
],
};