jan/docs/sidebars.js

145 lines
3.2 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 = {
productSidebar: [
{
type: "category",
label: "Products",
collapsible: false,
items: [
"products/desktop",
"server-suite/server-suite",
"products/mobile",
"products/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",
collapsible: true,
collapsed: true,
label: "Features",
items: [
"features/local",
"features/remote",
"features/data-security",
"features/api-server",
"features/extensions-framework",
"features/agents-framework",
"features/offline",
],
},
],
solutionSidebar: [
{
type: "category",
label: "Use Cases",
collapsed: true,
collapsible: true,
items: [
"solutions/use-cases/personal-ai",
"solutions/use-cases/ai-employees",
"solutions/use-cases/enterprise-search",
// "solutions/sectors/legal",
// "solutions/sectors/government",
],
},
{
type: "category",
label: "Sectors",
collapsed: true,
collapsible: true,
items: [
"solutions/sectors/finance",
"solutions/sectors/healthcare",
// "solutions/sectors/legal",
// "solutions/sectors/government",
],
},
{
type: "category",
label: "Audiences",
collapsed: true,
collapsible: true,
items: [
"solutions/audiences/developers",
"solutions/audiences/startups",
"solutions/audiences/enterprises",
"solutions/audiences/consultants",
],
},
],
ecosystemSidebar: [
"ecosystem/ecosystem",
{
type: "category",
label: "Community",
link: { type: "doc", id: "community/community" },
items: ["community/contributor-program"],
},
{
type: "category",
label: "Integrations",
link: { type: "doc", id: "integrations" },
items: [
{
type: "autogenerated",
dirName: "integrations",
},
],
},
],
pricingSidebar: ["pricing/pricing"],
partnerSidebar: ["partners/partners"],
guidesSidebar: [
{
type: "autogenerated",
dirName: "guides",
},
],
developerSidebar: [
{
type: "autogenerated",
dirName: "developer",
},
],
docsSidebar: [
{
type: "autogenerated",
dirName: "docs",
},
],
aboutSidebar: [
{
type: "autogenerated",
dirName: "about",
},
],
};
module.exports = sidebars;