jan/docs/sidebars.js
2024-02-09 16:53:29 +08:00

155 lines
3.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 = {
aboutSidebar: [
{
type: "category",
label: "What is Jan?",
link: { type: "doc", id: "about/about" },
items: [
{ type: "doc", id: "about/2035", label: "2035 Vision" },
"about/roadmap",
"community/community",
],
},
{
type: "category",
label: "Who we are",
link: { type: "doc", id: "team/team" },
items: ["team/join-us", "team/contributor-program"],
},
"wall-of-love",
{
type: "category",
label: "How We Work",
link: { type: "doc", id: "contributors" },
items: [
{
type: "autogenerated",
dirName: "contributors",
},
],
},
],
featuresSidebar: [
{
type: "category",
collapsible: true,
collapsed: true,
label: "Features",
link: { type: "doc", id: "features/features" },
items: [
"features/local",
"features/remote",
"features/api-server",
"features/extensions-framework",
"features/agents-framework",
"features/data-security",
],
},
{
type: "category",
label: "Platforms",
collapsible: false,
items: [
"platforms/desktop",
"server-suite/server-suite",
// "platforms/mobile",
// "platforms/hub",
],
},
// NOTE: Jan Server Suite will be torn out into it's own section in the future
// {
// type: "category",
// label: "Jan Server Suite",
// link: { type: "doc", id: "server-suite/server-suite" },
// items: [
// "server-suite/admin-console",
// "server-suite/identity-access-management",
// "server-suite/audit-compliance",
// "server-suite/observability",
// ],
// },
{
type: "category",
label: "Integrations",
link: { type: "doc", id: "integrations" },
items: [
{
type: "autogenerated",
dirName: "integrations",
},
],
},
],
solutionSidebar: [
{
type: "category",
label: "Use Cases",
collapsed: true,
collapsible: true,
items: ["solutions/ai-pc", "solutions/chatgpt-alternative"],
},
{
type: "category",
label: "Sectors",
collapsed: true,
collapsible: true,
items: [
"solutions/finance",
"solutions/healthcare",
"solutions/legal",
"solutions/government",
],
},
{
type: "category",
label: "Organization Type",
collapsed: true,
collapsible: true,
items: [
"solutions/developers",
"solutions/consultants",
"solutions/startups",
"solutions/enterprises",
],
},
],
pricingSidebar: ["pricing/pricing"],
partnerSidebar: ["partners/partners"],
guidesSidebar: [
{
type: "autogenerated",
dirName: "guides",
},
],
developerSidebar: [
{
type: "autogenerated",
dirName: "developer",
},
],
docsSidebar: [
{
type: "autogenerated",
dirName: "docs",
},
],
};
module.exports = sidebars;