-
Notifications
You must be signed in to change notification settings - Fork 2
/
sidebars.js
85 lines (82 loc) · 2.4 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
module.exports = {
mainSidebar: [
{
type: 'category',
label: 'Getting Started',
collapsed: true,
items: [
'gettingStarted/intro',
'gettingStarted/designingApiResources',
'gettingStarted/settingUpOurDB',
'gettingStarted/implementingReads',
'gettingStarted/buildingCRUD',
]
},
{
type: 'category',
label: 'Reference',
collapsed: true,
items: [
'reference/intro',
{
type: 'category',
label: 'Design',
items: [
'reference/design/media-types',
'reference/design/endpoints',
'reference/design/actions',
'reference/design/api-definition',
'reference/design/response-definitions',
'reference/design/traits',
'reference/design/doc-generation',
'reference/design/multipart',
]
},
{
type: 'category',
label: 'Implementation',
items: [
'reference/implementation/controllers',
'reference/implementation/resources',
'reference/implementation/application',
'reference/implementation/responses',
'reference/implementation/request-life-cycle',
'reference/implementation/multipart',
]
},
{
type: 'category',
label: 'Extensions',
items: [
'reference/extensions/intro',
'reference/extensions/mapper-plugin',
'reference/extensions/pagination-plugin',
'reference/extensions/field-selection',
'reference/extensions/filtering',
'reference/extensions/rendering',
]
},
{
type: 'category',
label: 'Internals',
items: [
'reference/internals/intro',
'reference/internals/field_selection',
'reference/internals/field_expansion',
'reference/internals/mapper_selectors',
'reference/internals/bootstrapping',
'reference/internals/handlers',
]
},
]
},
]
};
// otherSidebar: {
// Foobar: ['doc3'],
// Intro: ['intro/intro'],
// GettingStarted: ['gettingStarted/gettingStarted', 'doc2', 'doc3'],
// DesigningApis: ['doc1', 'doc2', 'doc3'],
// ImplementingApis: ['doc1', 'doc2', 'doc3'],
// Internals: ['mdx'],
// },