-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebars.js
115 lines (114 loc) · 2.88 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
const sidebar = {
Introduction: [
'introduction/installation',
'introduction/core-concepts',
'glossary',
'introduction/prior-art',
],
API: [
{
type: 'category',
label: 'effector',
items: [
'api/effector/effector',
{
type: 'category',
label: 'Unit creators',
items: [
'api/effector/createStore',
'api/effector/createEvent',
'api/effector/createEffect',
'api/effector/createDomain',
],
},
{
type: 'category',
label: 'Unit definitions',
items: [
'api/effector/event',
'api/effector/store',
'api/effector/effect',
'api/effector/domain',
],
},
'api/effector/combine',
'api/effector/restore',
'api/effector/createApi',
'api/effector/sample',
'api/effector/guard',
'api/effector/attach',
'api/effector/merge',
'api/effector/split',
'api/effector/forward',
'api/effector/is',
'api/effector/fromObservable',
'api/effector/createStoreObject',
'api/effector/clearNode',
'api/effector/withRegion',
'api/effector/babel-plugin',
],
},
{
type: 'category',
label: 'effector-react',
items: [
'api/effector-react/effector-react',
{
type: 'category',
label: 'Hooks',
items: [
'api/effector-react/useStore',
'api/effector-react/useStoreMap',
'api/effector-react/useList',
'api/effector-react/useGate',
],
},
'api/effector-react/createComponent',
'api/effector-react/gate',
'api/effector-react/createGate',
'api/effector-react/createStoreConsumer',
],
},
{
type: 'category',
label: 'effector-vue',
items: [
'api/effector-vue/effector-vue',
'api/effector-vue/vue-effector',
'api/effector-vue/component-options',
'api/effector-vue/vue',
],
},
],
Conventions: ['conventions/naming', 'conventions/best-practices'],
Recipes: [
'recipes/recipes',
'recipes/countdown',
'recipes/design-api-layer',
'recipes/usage-with-typescript',
'recipes/react-native/example',
{
type: 'category',
label: 'React',
items: [
'recipes/react/example',
'recipes/react/example-effects',
'recipes/react/example-forms',
'recipes/react/gate',
'recipes/react/todo-creator',
'recipes/react/dynamic-form-schema',
],
},
{
type: 'category',
label: 'React Native',
items: ['recipes/react-native/example'],
},
],
'Advanced guide': ['advanced-guide/Computation priority'],
FAQ: ['faq'],
}
module.exports = {
docs: sidebar,
api: sidebar,
}