-
Notifications
You must be signed in to change notification settings - Fork 2
/
sidebarsTHEOads.ts
73 lines (71 loc) · 2.06 KB
/
sidebarsTHEOads.ts
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
import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';
import signalingApiSidebar from './theoads/api/signaling/sidebar';
const sidebars: SidebarsConfig = {
theoads: [
'index',
{
type: 'category',
label: 'Getting started',
description: 'Set up your first stream with THEOads!',
customProps: {
icon: '🚀',
},
link: { type: 'doc', id: 'getting-started/index' },
items: [{ type: 'autogenerated', dirName: 'getting-started' }],
},
{
type: 'category',
label: 'How-to guides',
description: 'Learn how to integrate THEOads with your setup',
customProps: {
icon: '📖',
},
link: { type: 'doc', id: 'how-to-guides/index' },
items: [{ type: 'autogenerated', dirName: 'how-to-guides' }],
},
{
type: 'category',
label: 'API references',
description: 'Discover all functions of THEOads.',
customProps: {
icon: '*️⃣',
},
link: { type: 'generated-index', slug: 'api' },
items: [
{
type: 'link',
label: 'Signaling Service',
customProps: { icon: '🛜' },
href: '/theoads/api/signaling/theoads-api',
},
{
type: 'link',
label: 'Web',
customProps: { icon: 'web' },
href: 'pathname:///theoplayer/v8/api-reference/web/interfaces/TheoAdDescription.html',
},
{
type: 'link',
label: 'Android',
customProps: { icon: 'android' },
href: 'pathname:///theoplayer/v8/api-reference/android/com/theoplayer/android/api/ads/theoads/package-summary.html',
},
{
type: 'link',
label: 'React Native',
customProps: { icon: 'react' },
href: 'https://theoplayer.github.io/react-native-theoplayer/api/interfaces/TheoAdDescription.html',
},
],
},
],
signalingApi: [
{
type: 'link',
label: '« Back',
href: '/theoads/',
},
...signalingApiSidebar,
],
};
export default sidebars;