-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebars.ts
More file actions
111 lines (107 loc) · 2.67 KB
/
Copy pathsidebars.ts
File metadata and controls
111 lines (107 loc) · 2.67 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
import type { SidebarsConfig } from '@docusaurus/plugin-content-docs'
import replaneSidebar from './docs/api/sidebar'
const sidebars: SidebarsConfig = {
docsSidebar: [
'intro',
{
type: 'category',
label: 'Getting Started',
collapsed: false,
items: ['getting-started/quickstart', 'getting-started/installation']
},
{
type: 'category',
label: 'Concepts',
collapsed: false,
items: ['concepts/overview', 'concepts/architecture']
},
{
type: 'category',
label: 'Guides',
collapsed: false,
items: [
'guides/feature-flags',
'guides/override-rules',
'guides/operational-tuning',
'guides/gradual-rollouts'
]
},
{
type: 'category',
label: 'Self-Hosting',
collapsed: false,
items: ['self-hosting/docker', 'self-hosting/environment-variables']
},
{
type: 'category',
label: 'SDK',
collapsed: false,
link: {
type: 'doc',
id: 'sdk/index'
},
items: [
{
type: 'category',
label: 'JavaScript',
link: { type: 'doc', id: 'sdk/javascript/index' },
items: ['sdk/javascript/guide', 'sdk/javascript/api']
},
{
type: 'category',
label: 'React',
link: { type: 'doc', id: 'sdk/react/index' },
items: ['sdk/react/guide', 'sdk/react/api']
},
{
type: 'category',
label: 'Next.js',
link: { type: 'doc', id: 'sdk/nextjs/index' },
items: ['sdk/nextjs/guide', 'sdk/nextjs/api']
},
{
type: 'category',
label: 'Svelte',
link: { type: 'doc', id: 'sdk/svelte/index' },
items: ['sdk/svelte/guide', 'sdk/svelte/api']
},
{
type: 'category',
label: 'Python',
link: { type: 'doc', id: 'sdk/python/index' },
items: ['sdk/python/guide', 'sdk/python/api']
},
{
type: 'category',
label: '.NET',
link: { type: 'doc', id: 'sdk/dotnet/index' },
items: ['sdk/dotnet/guide', 'sdk/dotnet/api']
},
{
type: 'category',
label: 'Admin',
link: { type: 'doc', id: 'sdk/admin/index' },
items: ['sdk/admin/guide', 'sdk/admin/api']
},
'sdk/building-an-sdk'
]
}
],
// API Reference sidebar
apisidebar: [
{
type: 'doc',
id: 'api/index'
},
{
type: 'category',
label: 'Replane API',
link: {
type: 'doc',
id: 'api/replane-api'
},
items: replaneSidebar
}
]
}
export default sidebars