forked from pluralsh/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNavData.tsx
245 lines (241 loc) · 6.51 KB
/
NavData.tsx
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
import {
CloudIcon,
DocumentIcon,
GitHubIcon,
GraphIcon,
MagicWandIcon,
PadlockIcon,
VideoIcon,
} from '@pluralsh/design-system'
import { ReactElement } from 'react'
import deepFreeze from 'deep-freeze'
export type NavItem = {
title?: string
href?: string
icon?: ReactElement
sections?: NavItem[]
}
export type NavData = NavItem[]
const data: NavData = [
{
title: 'Getting Started',
sections: [
{
title: 'Introduction',
href: '/',
icon: <DocumentIcon />,
},
{
title: 'Quickstart',
href: '/getting-started/quickstart',
icon: <MagicWandIcon />,
},
{
href: '/getting-started/video-cli-quickstart',
title: 'Video: CLI Quickstart',
icon: <VideoIcon />,
},
{
href: '/getting-started/cloud-shell-quickstart',
title: 'Deploy with Cloud Shell',
icon: <CloudIcon />,
},
{
href: '/getting-started/manage-git-repositories',
title: 'Manage Git Repositories',
icon: <GitHubIcon />,
sections: [
{ href: '/getting-started/manage-git-repositories/setting-up-gitops', title: 'Setting Up GitOps' },
{ href: '/getting-started/manage-git-repositories/your-plural-workspace', title: 'Your Plural Workspace' },
{ href: '/getting-started/manage-git-repositories/sharing-git-repositories', title: 'Sharing Your Git Repositories' },
],
},
{
href: '/getting-started/admin-console',
title: 'Install Plural Console',
icon: <GraphIcon />,
},
{
href: '/getting-started/openid-connect',
title: 'Plural OIDC',
icon: <PadlockIcon />,
},
],
},
{
title: 'Applications',
sections: [
{
href: '/applications',
title: 'Application Catalog',
sections: [
{ href: '/applications/airbyte', title: 'Airbyte' },
{ href: '/applications/airflow', title: 'Airflow' },
{ href: '/applications/console', title: 'Console' },
],
},
{
href: '/adding-new-application',
title: 'Add an Application',
sections: [
{ href: '/adding-new-application/guide', title: 'Guide' },
{
href: '/adding-new-application/plural-custom-resources',
title: 'Plural Custom Resources',
},
{
href: '/adding-new-application/module-library',
title: 'Module Library',
},
{
href: '/adding-new-application/getting-started-with-runbooks',
title: 'Getting Started With Runbooks',
sections: [
{
href: '/adding-new-application/getting-started-with-runbooks/runbook-xml',
title: ' XML Runbooks',
},
{
href: '/adding-new-application/getting-started-with-runbooks/runbook-yaml',
title: ' YAML Runbooks',
},
],
},
],
},
],
},
{
title: 'Operations',
sections: [
{
href: '/operations/managing-applications',
title: 'Managing Applications',
sections: [
{
href: '/operations/managing-applications/update-application',
title: 'Update an Application',
},
{
href: '/operations/managing-applications/delete-application',
title: 'Delete an Application',
},
{
href: '/operations/managing-applications/bounce-application',
title: 'Bounce an Application',
},
{
href: '/operations/managing-applications/connect-application-db',
title: 'Connect to Application DB',
},
],
},
{
href: '/operations/network-configuration',
title: 'Network Configuration',
},
{
href: '/operations/uninstall',
title: 'Destroying the Cluster Safely',
},
{
href: '/operations/dns-setup',
title: 'Setting up Third Party DNS',
sections: [
{
href: '/operations/dns-setup/creating-dns-zone-in-your-cloud-provider-console',
title: 'Creating a DNS Zone in Console',
},
],
},
{
href: '/operations/security',
title: 'Security',
},
{
href: '/operations/auth-access-control',
title: 'Auth & Access Control',
sections: [
{
href: '/operations/auth-access-control/openid-connect',
title: 'OpenID Connect',
},
{
href: '/operations/auth-access-control/api-tokens',
title: 'API Tokens',
},
{
href: '/operations/auth-access-control/identity-and-installations',
title: 'Identity and Installations',
sections: [
{
href: '/operations/auth-access-control/identity-and-installations/audit-logging',
title: 'Audit Logging',
},
{
href: '/operations/auth-access-control/identity-and-installations/service-accounts',
title: 'Service Accounts',
},
],
},
],
},
],
},
{
title: 'Debugging',
sections: [
{
href: '/debugging',
title: 'Debugging',
sections: [
{
href: '/debugging/health-checks',
title: ' Health Checks',
},
{
href: '/debugging/proxies',
title: 'Proxies',
},
{
href: '/debugging/logs',
title: 'Logs',
},
],
},
{
title: 'Troubleshooting',
href: '/reference/troubleshooting',
},
],
},
{
title: 'Reference',
sections: [
{
title: 'API / Developer Tools',
href: '/reference/api',
sections: [
{
href: '/reference/api/plural-api',
title: 'Plural API',
},
{
title: 'Console API',
href: '/reference/api/console-api',
},
],
},
{
title: 'Cloud Provider CLI Setup',
href: '/reference/configuring-cloud-provider',
},
],
},
// {
// title: 'Test Pages',
// sections: [{ title: 'Callouts', href: '/test/callouts' }],
// sections: [{ title: 'Blockquotes', href: '/test/blockquotes' }],
// },
]
export default deepFreeze(data)