/** * 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 // featuresSidebar: [{ type: 'autogenerated', dirName: 'features' }], hardwareSidebar: [{ type: 'autogenerated', dirName: 'hardware' }], aboutSidebar: [{ type: 'autogenerated', dirName: 'about' }], // But you can create a sidebar manually featuresSidebar: [ 'features/features', { type: 'category', label: 'Platforms', collapsible: true, collapsed: true, link: { type: 'doc', id: 'platforms/platform' }, items: [ 'platforms/desktop', 'platforms/mobile', 'platforms/server' ] }, { type: 'category', label: 'Features', collapsible: true, collapsed: true, items: [ 'features/self-hosted', 'features/acceleration', ] }, { type: 'category', label: 'Solutions', collapsible: true, collapsed: true, items: [ 'solutions/personal-ai', 'solutions/enterprise' ] }, ], guidesSidebar: [ { type: 'doc', label: "Overview", id: 'guides/guides' }, { type: 'category', label: 'Install', collapsible: true, collapsed: true, items: [ { type: 'doc', label: 'Overview', id: 'guides/install/install' }, { type: 'doc', label: 'Windows', id: 'guides/install/windows' }, { type: 'doc', label: 'Mac', id: 'guides/install/mac' }, { type: 'doc', label: 'Linux', id: 'guides/install/linux' }, ] }, { type: 'category', label: 'Running as Server', collapsible: true, collapsed: true, items: [ { type: 'doc', label: 'Overview', id: 'guides/install/install' }, ] }, ] }; module.exports = sidebars;