-
Notifications
You must be signed in to change notification settings - Fork 33
/
sidebars.js
131 lines (127 loc) · 4.26 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
/**
* 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.
*/
module.exports = {
// By default, Docusaurus generates a sidebar from the docs folder structure
// tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
// But you can create a sidebar manually
react: [
{
type: 'category',
label: 'react',
items: [
'react/react/intro',
'react/react/project-directory',
'react/react/shared/shared',
{
type: 'category',
label: 'ReactElement',
items: [
'react/react/ReactElement/reactelement-and-children',
'react/react/ReactElement/component-reactelement',
{
type: 'category',
label: '其他',
items: [
'react/react/ReactElement/others/react-entry',
'react/react/ReactElement/others/react-base-class',
'react/react/ReactElement/others/react-children',
'react/react/ReactElement/others/react-debug-current-frame',
'react/react/ReactElement/others/react-element',
'react/react/ReactElement/others/react-element-validator',
'react/react/ReactElement/others/react-node-update-queue',
'react/react/ReactElement/others/react-others'
]
}
],
},
{
type: 'category',
label: 'scheduler',
items: [
'react/react/scheduler/why-need-scheduler',
'react/react/scheduler/new-scheduler',
'react/react/scheduler/old-scheduler',
{
type: 'category',
label: '其他',
items: [
'react/react/scheduler/others/react-is',
'react/react/scheduler/others/scheduler-code-details',
'react/react/scheduler/others/scheduler-tracing-subscriptions',
'react/react/scheduler/others/scheduler-tracing'
]
}
],
},
{
type: 'category',
label: 'reconciler',
items: [
'react/react/reconciler/container-root',
'react/react/reconciler/fiber-tree-root',
'react/react/reconciler/schedulework',
'react/react/reconciler/sync-async-work',
'react/react/reconciler/performwork',
'react/react/reconciler/performwork-on-root',
'react/react/reconciler/expiration-time',
'react/react/reconciler/multi-setstate',
'react/react/reconciler/react-fiber-lazy-component',
'react/react/reconciler/todo-list'
],
},
{
type: 'category',
label: 'event',
items: [
'react/react/event/event-bind',
'react/react/event/event-dispatch'
],
},
'react/react/error/error-handle'
]
},
{
type: 'category',
label: 'react-hook-form',
items: [
'react/react-hook-form/react-hook-form-summary',
'react/react-hook-form/react-hook-form-utils'
]
},
{
type: 'category',
label: 'react-router',
items: [
'react/react-router/react-router-summary',
{
type: 'category',
label: '其他',
items: [
'react/react-router/others/react-router-matchpath',
'react/react-router/others/react-router-route',
'react/react-router/others/react-router-browser-hash-router',
'react/react-router/others/react-router-router',
'react/react-router/others/react-router-generatepath',
'react/react-router/others/react-router-redirect',
'react/react-router/others/react-router-switch',
'react/react-router/others/react-router-withrouter',
'react/react-router/others/react-router-link'
]
}
]
},
{
type: 'category',
label: 'react-transition',
items: [
'react/react-transition/react-transition-group-transition'
]
}
]
};