jan/docs/sidebars.js
2023-10-13 21:53:37 +08:00

233 lines
5.7 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 can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
// @ts-check
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
// But you can create a sidebar manually
featuresSidebar: [
"platform/platform",
{
type: "category",
label: "Products",
collapsible: true,
collapsed: false,
link: { type: "doc", id: "products/products" },
items: ["products/desktop", "products/mobile", "products/server"],
},
{
type: "category",
label: "Features",
collapsible: true,
collapsed: false,
link: { type: "doc", id: "features/features" },
items: [
"features/ai-models",
"features/control",
"features/acceleration",
"features/extensions",
],
},
],
// Note: Tab name is "Use Cases"
solutionsSidebar: [
// "solutions/solutions",
{
type: "category",
label: "Solutions",
collapsible: true,
collapsed: false,
items: ["solutions/self-hosted", "solutions/personal-ai"],
},
// {
// type: "category",
// label: "Industries",
// collapsible: true,
// collapsed: false,
// items: [
// "solutions/industries/software",
// "solutions/industries/education",
// "solutions/industries/law",
// "solutions/industries/public-sector",
// "solutions/industries/finance",
// "solutions/industries/healthcare",
// ],
// },
],
docsSidebar: [
{ type: "doc", label: "Getting Started", id: "docs/docs" },
{
type: "category",
label: "Install",
collapsible: true,
collapsed: false,
items: [
{ type: "doc", label: "Windows", id: "docs/install/windows" },
{ type: "doc", label: "Mac", id: "docs/install/mac" },
{ type: "doc", label: "Linux", id: "docs/install/linux" },
],
},
],
hardwareSidebar: [
// {
// type: "category",
// label: "Overview",
// collapsible: true,
// collapsed: true,
// link: { type: "doc", id: "hardware/hardware" },
// items: [
// {
// type: "doc",
// label: "Cloud vs. Self-Hosting",
// id: "hardware/overview/cloud-vs-self-hosting",
// },
// {
// type: "doc",
// label: "CPUs vs. GPUs",
// id: "hardware/overview/cpu-vs-gpu",
// },
// ],
// },
// {
// type: "category",
// label: "Recommendations",
// collapsible: true,
// collapsed: false,
// items: [
// {
// type: "doc",
// label: "By Hardware",
// id: "hardware/recommendations/by-hardware",
// },
// {
// type: "doc",
// label: "By Budget",
// id: "hardware/recommendations/by-budget",
// },
// {
// type: "doc",
// label: "By Model",
// id: "hardware/recommendations/by-model",
// },
// {
// type: "doc",
// label: "By Use Case",
// id: "hardware/recommendations/by-usecase",
// },
// ],
// },
// {
// type: "category",
// label: "Anatomy of a Thinking Machine",
// collapsible: true,
// collapsed: true,
// link: { type: "doc", id: "hardware/concepts/concepts" },
// items: [
// {
// type: "doc",
// label: "Chassis",
// id: "hardware/concepts/chassis",
// },
// {
// type: "doc",
// label: "Motherboard",
// id: "hardware/concepts/motherboard",
// },
// {
// type: "doc",
// label: "CPU and RAM",
// id: "hardware/concepts/cpu-and-ram",
// },
// {
// type: "doc",
// label: "GPU and VRAM",
// id: "hardware/concepts/gpu-and-vram",
// },
// {
// type: "doc",
// label: "Storage",
// id: "hardware/concepts/storage",
// },
// {
// type: "doc",
// label: "Network",
// id: "hardware/concepts/network",
// },
// {
// type: "doc",
// label: "Power Supply",
// id: "hardware/concepts/power",
// },
// ],
// },
{
type: "category",
label: "Hardware Examples",
collapsible: true,
collapsed: true,
link: { type: "doc", id: "hardware/community" },
items: [
{
type: "autogenerated",
dirName: "hardware/examples",
},
],
},
],
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;