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 title: Cookbook
sidebar_position: 6
--- ---
# Internal Guidelines # Internal Guidelines

View File

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

View File

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

View File

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

View File

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