142 lines
2.8 KiB
JavaScript
142 lines
2.8 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",
|
|
],
|
|
},
|
|
],
|
|
|
|
// Autogenerate docs from /guides
|
|
guidesSidebar: [
|
|
{
|
|
type: "category",
|
|
label: "Guides",
|
|
collapsible: true,
|
|
collapsed: true,
|
|
items: [
|
|
{
|
|
type: "autogenerated",
|
|
dirName: "guides",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
|
|
//
|
|
devSidebar: [
|
|
{
|
|
type: "category",
|
|
label: "Overview",
|
|
collapsible: true,
|
|
collapsed: false,
|
|
items: [
|
|
{
|
|
type: "autogenerated",
|
|
dirName: "overview",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Reference",
|
|
collapsible: true,
|
|
collapsed: false,
|
|
items: [
|
|
{
|
|
type: "autogenerated",
|
|
dirName: "reference",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Tutorials",
|
|
collapsible: true,
|
|
collapsed: false,
|
|
items: [
|
|
{
|
|
type: "autogenerated",
|
|
dirName: "tutorials",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
type: "category",
|
|
label: "Articles",
|
|
collapsible: true,
|
|
collapsed: false,
|
|
items: [
|
|
{
|
|
type: "doc",
|
|
label: "Nitro",
|
|
id: "articles/nitro",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
|
|
companySidebar: [
|
|
// {
|
|
// type: "category",
|
|
// label: "About Jan",
|
|
// collapsible: true,
|
|
// collapsed: true,
|
|
// link: { type: "doc", id: "about/about" },
|
|
// items: [
|
|
// "about/team",
|
|
// {
|
|
// type: "link",
|
|
// label: "Careers",
|
|
// href: "https://janai.bamboohr.com/careers",
|
|
// },
|
|
// ],
|
|
// },
|
|
{
|
|
type: "category",
|
|
label: "Events",
|
|
collapsible: true,
|
|
collapsed: true,
|
|
items: [
|
|
{
|
|
type: "doc",
|
|
label: "Ho Chi Minh City (Oct 2023)",
|
|
id: "events/hcmc-oct23",
|
|
},
|
|
],
|
|
},
|
|
// {
|
|
// type: "category",
|
|
// label: "Company Handbook",
|
|
// collapsible: true,
|
|
// collapsed: true,
|
|
// link: { type: "doc", id: "handbook/handbook" },
|
|
// items: ["handbook/remote-work"],
|
|
// },
|
|
],
|
|
};
|
|
|
|
module.exports = sidebars;
|