forked from denkungsart/filmmakers-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebars.js
More file actions
145 lines (141 loc) · 4.47 KB
/
sidebars.js
File metadata and controls
145 lines (141 loc) · 4.47 KB
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
// @ts-check
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
// tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
// But we want to create a custom sidebar
apiSidebar: [
{
type: 'doc',
id: 'introduction',
label: 'Getting Started',
},
{
type: 'category',
label: 'Core Concepts',
items: [
{
type: 'doc',
id: 'authentication',
label: 'Authentication',
},
{
type: 'doc',
id: 'cors',
label: 'Cross Origin Resource Sharing',
},
{
type: 'doc',
id: 'rate-limits',
label: 'Rate Limits',
},
{
type: 'doc',
id: 'pagination',
label: 'Pagination',
},
{
type: 'doc',
id: 'webhooks',
label: 'Webhooks',
},
{
type: 'doc',
id: 'errors',
label: 'Error Codes',
},
],
},
{
type: 'category',
label: 'Resources',
items: [
{
type: 'category',
label: 'Attributes',
link: { type: 'doc', id: 'attributes' },
items: [
{ type: 'link', label: 'Get all attributes', href: '/attributes#get-all-attributes' },
{ type: 'link', label: 'Get key/value pairs for attributes', href: '/attributes#get-keyvalue-pairs-for-attributes' },
],
},
{
type: 'category',
label: 'Actor Profiles',
link: { type: 'doc', id: 'actor-profiles' },
items: [
{ type: 'link', label: 'Get all actor profiles', href: '/actor-profiles#get-all-actor-profiles' },
{ type: 'link', label: 'Get a specific actor profile', href: '/actor-profiles#get-a-specific-actor-profile' },
],
},
{
type: 'category',
label: 'Crew Profiles',
link: { type: 'doc', id: 'crew-profiles' },
items: [
{ type: 'link', label: 'Get all crew profiles', href: '/crew-profiles#get-all-crew-profiles' },
{ type: 'link', label: 'Get a specific crew profile', href: '/crew-profiles#get-a-specific-crew-profile' },
],
},
{
type: 'category',
label: 'Talent Agencies',
link: { type: 'doc', id: 'talent-agencies' },
items: [
{ type: 'link', label: 'Get talent agency data', href: '/talent-agencies#get-talent-agency-data' },
],
},
{
type: 'category',
label: 'Blog Posts',
link: { type: 'doc', id: 'blog-posts' },
items: [
{ type: 'link', label: 'Get all blog posts', href: '/blog-posts#get-all-blog-posts' },
{ type: 'link', label: 'Get a specific blog post', href: '/blog-posts#get-a-specific-blog-post' },
],
},
{
type: 'category',
label: 'Showreels',
link: { type: 'doc', id: 'showreels' },
items: [
{ type: 'link', label: 'Get a specific showreel', href: '/showreels#get-a-specific-showreel' },
],
},
{
type: 'category',
label: 'Showreel Media',
link: { type: 'doc', id: 'showreel-media' },
items: [
{ type: 'link', label: 'Get specific showreel media', href: '/showreel-media#get-specific-showreel-media' },
],
},
{
type: 'category',
label: 'Messages',
link: { type: 'doc', id: 'messages' },
items: [
{ type: 'link', label: 'Get all messages', href: '/messages#get-all-messages' },
{ type: 'link', label: 'Get a specific message', href: '/messages#get-a-specific-message' },
],
},
{
type: 'category',
label: 'Casting Calls',
link: { type: 'doc', id: 'casting-calls' },
items: [
{ type: 'link', label: 'Get all casting calls', href: '/casting-calls#get-all-casting-calls' },
{ type: 'link', label: 'Get a specific casting call', href: '/casting-calls#get-a-specific-casting-call' },
],
},
],
},
{
type: 'doc',
id: 'changelog',
label: 'Changelog',
},
],
};
export default sidebars;