95 lines
2.3 KiB
JavaScript
95 lines
2.3 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
|
|
// featuresSidebar: [{ type: 'autogenerated', dirName: 'features' }],
|
|
hardwareSidebar: [{ type: 'autogenerated', dirName: 'hardware' }],
|
|
aboutSidebar: [{ type: 'autogenerated', dirName: 'about' }],
|
|
|
|
// 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/self-hosted',
|
|
'features/acceleration',
|
|
'features/extensions',
|
|
]
|
|
}
|
|
],
|
|
|
|
// Note: Tab name is "Use Cases"
|
|
solutionsSidebar: [
|
|
'solutions/solutions',
|
|
{
|
|
type: 'category',
|
|
label: 'Use cases',
|
|
collapsible: true,
|
|
collapsed: false,
|
|
items: [
|
|
'solutions/personal-ai',
|
|
'solutions/self-hosted'
|
|
]
|
|
},
|
|
{
|
|
type: 'category',
|
|
label: 'Industries',
|
|
collapsible: true,
|
|
collapsed: false,
|
|
items: [
|
|
'solutions/industries/public-sector',
|
|
'solutions/industries/education',
|
|
'solutions/industries/finance',
|
|
'solutions/industries/law',
|
|
'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' },
|
|
]
|
|
}
|
|
]
|
|
};
|
|
|
|
module.exports = sidebars;
|