forked from X-lab2017/open-digger-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebars.js
107 lines (102 loc) · 2.57 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
/**
* 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',
'user_docs/playground',
{
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/how_to_use',
{
type: 'category',
label: 'openrank',
collapsed: false,
items: [
'user_docs/metrics/openrank/global_openrank',
'user_docs/metrics/openrank/community_openrank'
],
},
'user_docs/metrics/activity',
'user_docs/metrics/activity_dates_and_times',
'user_docs/metrics/technical_fork',
'user_docs/metrics/inactive_contributors',
'user_docs/metrics/bus_factor',
'user_docs/metrics/issue_resolution_duration',
'user_docs/metrics/issue_response_time',
],
},
{
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://dataease.x-lab.info/link/RyaY6hry',
},
]
},
'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;