forked from Javacord/Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
102 lines (102 loc) · 3.01 KB
/
config.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
module.exports = {
title: 'Javacord',
description: 'The Javacord website',
head: [
['link', { rel: 'icon', href: '/favicon-96x96.png' }]
],
themeConfig: {
smoothScroll: true,
nav: [
{ text: 'Home', link: '/' },
{ text: 'Wiki', link: '/wiki/' },
{ text: 'JavaDocs', link: 'https://docs.javacord.org/' },
{ text: 'Discord Server', link: 'https://discord.gg/0qJ2jjyneLEgG7y3' },
{ text: 'GitHub', link: 'https://github.com/Javacord/Javacord' },
{ text: 'Legal',
items: [
{ text: 'Imprint', link: '/imprint' },
{ text: 'Privacy Policy', link: '/privacy-policy' }
]
},
],
sidebar: {
'/wiki/': [
{
title: 'Getting Started',
collapsable: false,
sidebarDepth: 1,
children: [
['getting-started/', 'Intro'],
'getting-started/download-installation',
'getting-started/creating-a-bot-account',
'getting-started/writing-your-first-bot',
{
title: 'Beginner IDE Setup',
collapsable: true,
sidebarDepth: 1,
children: [
'getting-started/setup/intellij-gradle',
'getting-started/setup/intellij-maven',
'getting-started/setup/eclipse-maven',
]
}
]
},
{
title: 'Basic Tutorials',
collapsable: false,
sidebarDepth: 1,
children: [
'basic-tutorials/listeners',
'basic-tutorials/gateway-intents',
'basic-tutorials/embeds',
'basic-tutorials/emojis-and-reactions',
'basic-tutorials/message-builder',
'basic-tutorials/creating-entities',
'basic-tutorials/logger-config',
'basic-tutorials/glossary',
]
},
{
title: 'Advanced Topics',
collapsable: false,
sidebarDepth: 1,
children: [
'advanced-topics/bot-lifecycle',
'advanced-topics/entity-cache',
'advanced-topics/playing-audio',
'advanced-topics/ratelimits',
'advanced-topics/sharding',
'advanced-topics/performance-tweaks',
'advanced-topics/proxies',
]
},
{
title: 'Essential Knowledge',
collapsable: false,
sidebarDepth: 1,
children: [
'essential-knowledge/lambdas',
'essential-knowledge/optionals',
'essential-knowledge/completable-futures',
]
}
]
},
// Repo details for "Edit this page on GitHub" footer
docsRepo: 'Javacord/Website',
docsDir: 'docs',
docsBranch: 'master',
editLinks: true,
editLinkText: 'Edit this page on GitHub'
},
markdown: {
extendMarkdown: md => {
// katex for LaTeX Math equation
md.use(require('@traptitech/markdown-it-katex'))
}
},
plugins: [
require('./../../plugins/bot-api')
]
};