-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsidebars.js
More file actions
160 lines (157 loc) · 4.65 KB
/
sidebars.js
File metadata and controls
160 lines (157 loc) · 4.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
/**
* Single sidebar split into three top-level audience sections, all expanded
* by default so it reads as one continuous list with section headings.
*
* phpvms — operators running a phpvms install
* ACARS — operators, pilots, and ACARS plugin developers
* Developers — phpvms core, addon, and theme authors
*/
module.exports = {
docs: [
// ---------------------------------------------------------------------
// Top-level intro links (no section heading) — appear above phpvms.
// The site landing (welcome.mdx) is reached via the navbar logo and
// is intentionally not in the sidebar.
// ---------------------------------------------------------------------
'getting-started',
'whats-new',
{
type: 'html',
value: '<hr class="sidebar-section-divider" />',
defaultStyle: true,
},
// ---------------------------------------------------------------------
// phpvms — for VA operators running phpvms
// ---------------------------------------------------------------------
{
type: 'category',
label: 'phpvms',
collapsed: false,
collapsible: true,
items: [
{
type: 'category',
label: 'Getting Started',
items: [
'installation/requirements',
{
type: 'category',
label: 'How to Deploy',
items: [
'getting-started/local',
'getting-started/docker',
'getting-started/vps',
],
},
'installation/installation',
'installation/updating',
'installation/cron',
],
},
{
type: 'category',
label: 'Concepts',
items: ['guides/basics', 'guides/deeper-dive', 'guides/glossary'],
},
{
type: 'category',
label: 'Configuration',
items: [
'config/basics',
'config/email',
'config/notifications',
'config/backups',
'config/advanced',
{
type: 'category',
label: 'OAuth',
items: [
'config/oauth/discord',
'config/oauth/ivao',
'config/oauth/vatsim',
],
},
],
},
{
type: 'category',
label: 'Theming',
items: ['customize/layouts', 'customize/theming', 'customize/maps'],
},
'help',
],
},
// ---------------------------------------------------------------------
// ACARS — unified: operators, pilots, and plugin developers
// ---------------------------------------------------------------------
{
type: 'category',
label: 'ACARS',
collapsed: false,
collapsible: true,
items: [
'acars/overview',
{
type: 'category',
label: 'For Operators',
items: ['acars/install-server'],
},
{
type: 'category',
label: 'For Pilots',
items: [
'acars/client/install',
'acars/client/configuration',
'acars/client/flying',
'acars/client/debugging',
'acars/customization',
],
},
{
type: 'category',
label: 'Plugin Development',
items: [
'acars/plugins/getting-started',
'acars/plugins/tutorial',
'acars/plugins/aircraftconfigs',
'acars/plugins/rules',
'acars/plugins/callbacks',
'acars/plugins/reference',
],
},
],
},
// ---------------------------------------------------------------------
// Developers — phpvms core, addon, and theme authors
// ---------------------------------------------------------------------
{
type: 'category',
label: 'Developers',
collapsed: false,
collapsible: true,
items: [
'developers/environment',
{
type: 'category',
label: 'Addons',
items: [
'developers/addons/overview',
'developers/addons/publishing',
'developers/addons/routing-controllers',
'developers/addons/database',
'developers/addons/templating',
'developers/addons/events',
'developers/addons/patterns',
'developers/building-assets',
'developers/awards',
],
},
{
type: 'category',
label: 'REST API',
items: ['api/overview', 'api/auth'],
},
],
},
],
};