-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
186 lines (177 loc) · 5.85 KB
/
docusaurus.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
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
module.exports = {
title: 'Portal',
tagline: 'A fully fledged and feature rich bot for Discord',
url: 'https://portal-bot.xyz',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/portal/portal_logo.ico',
organizationName: 'keybraker',
projectName: 'portal',
themeConfig: {
// algolia: {
// apiKey: 'YOUR_API_KEY',
// indexName: 'YOUR_INDEX_NAME',
// // Optional: see doc section bellow
// contextualSearch: true,
// // Optional: Algolia search parameters
// searchParameters: {},
// //... other Algolia params
// },
colorMode: {
// "light" | "dark"
defaultMode: 'dark',
// Hides the switch in the navbar
// Useful if you want to support a single color mode
disableSwitch: false,
// Should we use the prefers-color-scheme media-query,
// using user system preferences, instead of the hardcoded defaultMode
respectPrefersColorScheme: true,
// Dark/light switch icon options
switchConfig: {
// Icon for the switch while in dark mode
darkIcon: '\u{200B}',//'\u{1F319}',
// CSS to apply to dark icon,
// React inline style object
// see https://reactjs.org/docs/dom-elements.html#style
darkIconStyle: {
marginLeft: '1px',
},
// Unicode icons such as '\u2600' will work
// Unicode with 5 chars require brackets: '\u{1F602}'
lightIcon: '\u{200B}',//'\u2600',
lightIconStyle: {
marginLeft: '1px',
},
},
},
navbar: {
title: 'Portal',
logo: {
alt: 'portal\'s logo',
src: 'img/portal/portal_logo.png',
},
items: [
// {
// to: 'features/',
// activeBasePath: 'features',
// label: 'Features',
// position: 'left',
// },
{
to: 'commands/',
activeBasePath: 'commands',
label: 'Commands',
position: 'left',
},
{
to: 'music-player/',
activeBasePath: 'music-player',
label: 'Music Player',
position: 'left',
},
{
to: 'docs/',
activeBasePath: 'docs',
label: 'Documentation',
position: 'right',
},
{
to: 'help/',
activeBasePath: 'help',
label: 'Help',
position: 'right',
},
{
to: 'blog',
label: 'Blog',
position: 'right'
},
{
href: 'https://discord.com/oauth2/authorize?client_id=704400876860735569&permissions=8&redirect_uri=http%3A%2F%2Fwww.localhost%3A4000%2Fpremium%2F&scope=bot',
label: 'Add to Discord',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [{
title: 'Docs',
items: [
{
label: 'Commands',
to: 'commands/',
},
{
label: 'Music Player',
to: 'music-player/',
}
]
},
{
title: 'Help',
items: [{
label: 'Help',
to: 'help',
}, {
label: 'Portal Official Server',
href: 'https://discord.com/invite/WrMUzJYyzJ',
},
{
label: 'Github',
href: 'https://github.com/keybraker/Portal',
}
]
},
{
title: 'More',
items: [{
label: 'Blog',
to: 'blog',
},
{
label: 'top.gg',
href: 'https://top.gg/bot/704400876860735569',
},
{
label: 'bots.gg',
href: 'https://discord.bots.gg/bots/704400876860735569',
}
]
},
{
title: 'Support',
items: [{
label: 'PaypalMe',
to: 'https://www.paypal.com/paypalme/tsiakkas',
},
{
label: 'Github Sponsor',
href: 'https://github.com/sponsors/keybraker',
}
]
}
],
copyright: `<br />Copyright © 2020 - ${new Date().getFullYear()}<br />Designed and Built by Ioannis Tsiakkas`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://portal-bot.xyz/',
},
blog: {
showReadingTime: true,
editUrl: 'https://portal-bot.xyz/blog/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};