-
Notifications
You must be signed in to change notification settings - Fork 8
/
sidebars.js
151 lines (146 loc) · 3.87 KB
/
sidebars.js
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
/**
* 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 = {
userDocSidebar: [
'user_docs/intro',
{
type: 'category',
label: 'data_sources',
collapsed: true,
items: [
'user_docs/data_sources/github',
'user_docs/data_sources/gitee',
],
},
'user_docs/label_data',
{
type: 'category',
label: 'metrics',
collapsed: false,
items: [
'user_docs/metrics/metrics_usage_guide',
'user_docs/metrics/playground',
{
type: 'category',
label: 'openrank',
link: {
type: 'doc',
id: 'user_docs/metrics/openrank',
},
collapsed: false,
items: [
'user_docs/metrics/global_openrank',
'user_docs/metrics/community_openrank',
],
},
{
type: 'category',
label: 'statistics',
collapsed: true,
items: [
'user_docs/metrics/activity',
'user_docs/metrics/technical_fork',
'user_docs/metrics/activity_dates_and_times',
],
},
{
type: 'category',
label: 'developers',
collapsed: true,
items: [
'user_docs/metrics/new_contributors',
'user_docs/metrics/contributors',
'user_docs/metrics/inactive_contributors',
'user_docs/metrics/contributor_absence_factor',
],
},
{
type: 'category',
label: 'issues',
collapsed: true,
items: [
'user_docs/metrics/issue_new',
'user_docs/metrics/issue_closed',
'user_docs/metrics/issue_response_time',
'user_docs/metrics/issue_resolution_duration',
'user_docs/metrics/issue_age',
],
},
{
type: 'category',
label: 'change_requests',
collapsed: true,
items: [
'user_docs/metrics/change_requests',
'user_docs/metrics/change_requests_accepted',
'user_docs/metrics/change_request_reviews',
'user_docs/metrics/change_requests_response_time',
'user_docs/metrics/change_requests_resolution_duration',
'user_docs/metrics/change_requests_age',
'user_docs/metrics/code_changes_lines',
],
},
],
},
{
type: 'category',
label: 'downstream',
collapsed: false,
items: [
{
type: 'link',
label: 'HyperCRX',
href: 'https://github.com/hypertrons/hypertrons-crx',
},
{
type: 'link',
label: 'OpenGalaxy',
href: 'https://open-galaxy.x-lab.info/',
},
{
type: 'link',
label: 'OpenAtomDashboard',
href: 'https://openatom-dashboard.x-lab.info/',
},
{
type: 'link',
label: 'PolarDBDashboard',
href: 'https://polardbx.com/dataPanorama',
},
]
},
'user_docs/FAQ'
],
developerDocSidebar: [
'dev_docs/intro',
'dev_docs/database_table_schema',
'dev_docs/metrics',
'dev_docs/cron_task',
{
type: 'category',
label: 'jupyter_notebook',
collapsed: false,
items: [
'dev_docs/jupyter_notebook/node_kernel',
'dev_docs/jupyter_notebook/python_kernel',
]
},
{
type: 'category',
label: 'tools',
collapsed: false,
items: [
'dev_docs/tools/leaderboard',
]
}
]
};
export default sidebars;