jan/docs/sidebars.js
2023-11-13 11:01:26 +08:00

126 lines
2.4 KiB
JavaScript

/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars are explicitly defined here.
Create as many sidebars as you want.
*/
// @ts-check
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
featuresSidebar: [
{
type: "category",
label: "Features",
collapsible: true,
collapsed: false,
link: { type: "doc", id: "features/features" },
items: [
"features/ai-models",
"features/control",
"features/acceleration",
"features/extensions",
],
},
],
guidesSidebar: [
"guides/overview",
{
type: "category",
label: "Installation",
collapsible: true,
collapsed: true,
link: { type: "doc", id: "guides/install/install" },
items: [
{
type: "autogenerated",
dirName: "guides/install",
},
],
},
"guides/troubleshooting",
],
docsSidebar: [
"docs/introduction",
{
type: "category",
label: "Modules",
collapsible: true,
collapsed: false,
items: [
{
type: "autogenerated",
dirName: "docs/modules",
},
],
},
"docs/user-interface",
],
apiSidebar: [
"api/overview",
{
type: "category",
label: "Endpoints",
collapsible: true,
collapsed: false,
items: [
{
type: "autogenerated",
dirName: "api",
},
],
},
],
aboutSidebar: [
{
type: "doc",
label: "About Jan",
id: "about/about",
},
{
type: "link",
label: "Careers",
href: "https://janai.bamboohr.com/careers",
},
{
type: "category",
label: "Events",
collapsible: true,
collapsed: true,
items: [
"events/nvidia-llm-day-nov-23",
{
type: "doc",
label: "Oct 23: HCMC Hacker House",
id: "events/hcmc-oct23",
},
],
},
{
type: "category",
label: "Company Handbook",
collapsible: true,
collapsed: true,
// link: { type: "doc", id: "handbook/handbook" },
items: [
{
type: "doc",
label: "Engineering",
id: "handbook/engineering/engineering",
},
],
},
],
};
module.exports = sidebars;