Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
m1k1o
GitHub Repository: m1k1o/neko
Path: blob/master/webpage/sidebars.ts
1002 views
1
import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
2
import apiSidebar from './docs/api/sidebar';
3
4
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
5
6
/**
7
* Creating a sidebar enables you to:
8
- create an ordered group of docs
9
- render a sidebar for each doc of that group
10
- provide next/previous navigation
11
12
The sidebars can be generated from the filesystem, or explicitly defined here.
13
14
Create as many sidebars as you want.
15
*/
16
const sidebars: SidebarsConfig = {
17
docsSidebar: [
18
{
19
type: 'category',
20
label: 'Getting Started',
21
className: 'menu__list-item-flat',
22
collapsible: false,
23
items: [
24
'introduction',
25
'quick-start',
26
{
27
type: 'category',
28
label: 'Installation',
29
collapsed: false,
30
link: { type: "doc", id: "installation/README" },
31
items: [
32
'installation/docker-images',
33
'installation/examples',
34
]
35
},
36
]
37
},
38
{
39
type: 'category',
40
label: 'Reference',
41
className: 'menu__list-item-flat',
42
collapsible: false,
43
items: [
44
{
45
type: 'category',
46
label: 'Configuration',
47
collapsed: false,
48
link: { type: "doc", id: "configuration/README" },
49
items: [
50
'configuration/authentication',
51
'configuration/capture',
52
'configuration/desktop',
53
'configuration/webrtc',
54
'configuration/plugins',
55
]
56
},
57
{
58
type: 'category',
59
label: 'Customization',
60
collapsed: false,
61
link: { type: "doc", id: "customization/README" },
62
items: [
63
'customization/networking',
64
'customization/browsers',
65
'customization/ui',
66
]
67
},
68
{
69
type: 'category',
70
label: 'Developer Guide',
71
collapsed: true,
72
link: { type: "doc", id: "developer-guide/README" },
73
items: [
74
'developer-guide/repository-structure',
75
'developer-guide/build',
76
{
77
type: 'link',
78
label: 'API Reference',
79
description: 'OpenAPI documentation for the Neko API',
80
href: '/docs/v3/api',
81
},
82
]
83
},
84
'migration-from-v2/README',
85
'reverse-proxy-setup'
86
]
87
},
88
//{
89
// type: 'category',
90
// label: 'Hardware Acceleration',
91
// items: [{ type: "autogenerated", dirName: "hardware-acceleration" }]
92
//},
93
{
94
type: 'category',
95
label: 'Help & Support',
96
className: 'menu__list-item-flat',
97
collapsible: false,
98
items: [
99
'faq',
100
'troubleshooting',
101
'release-notes',
102
'roadmap',
103
]
104
},
105
],
106
apiSidebar: require("./docs/api/sidebar.js"),
107
};
108
109
export default sidebars;
110
111