-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
136 lines (135 loc) · 3.36 KB
/
docusaurus.config.js
File metadata and controls
136 lines (135 loc) · 3.36 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
module.exports = {
title: 'Tox Mod',
tagline: 'Documentation for the Discord Bot with a little bit of Attitude!.',
url: 'https://help.toxmod.xyz',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/584C6B70-CA2C-48DE-B737-107F58FDC322.png',
organizationName: 'Tox-Mod', // Usually your GitHub org/user name.
projectName: 'Tox-Mod-Docs', // Usually your repo name.
customFields: {
metaDescription: 'Documentation for the Discord Bot with a little bit of Attitude.',
},
themeConfig: {
// Vanilla settings
navbar: {
title: 'Tox Mod Docs',
logo: {
alt: 'Tox Mod Logo',
src: 'img/E795CF4F-43F3-4FBE-A183-6B85EBA4C20E.gif',
},
items: [
{
label: 'Beta',
position: 'left',
href: 'https://beta.toxmod.xyz'
},
{
to: 'blog/',
activeBaseRegex: 'blog/$',
label: 'Blog',
position: 'left',
},
{
to: 'docs/',
activeBaseRegex: 'docs/$',
label: 'Docs',
position: 'left',
},
{
label: 'Discord',
position: 'left',
href: 'https://toxmod.xyz/discord'
},
{
label: 'Status',
position: 'left',
href: 'https://toxmod.instatus.com'
}
],
},
footer: {
links: [
{
title: 'Links',
items: [
{
label: 'Website',
href: 'https://toxmod.xyz',
},
{
label: 'GitHub',
href: 'https://github.com/Tox-Mod',
},
{
label: 'Dashboard',
href: 'https://toxmod.xyz/dashboard',
}
],
},
{
title: 'Support',
items: [
{
label: 'Discord',
href: 'https://toxmod.xyz/discord',
},
{
label: 'Terms',
href: 'https://toxmod.xyz/terms',
},
{
label: 'Privacy',
href: 'https://toxmod.xyz/privacy',
}
],
},
],
style: 'dark',
copyright: `Copyright © ${new Date().getFullYear()} <a href="https://toxicdev.me">Toxic Dev</a>`
},
// Extra settings
colorMode: {
defaultMode: 'dark',
switchConfig: {
darkIcon: "🌛",
darkIconStyle: {},
lightIcon: "🌞",
lightIconStyle: {},
},
},
announcementBar: {
id: 'notice',
content:
'🎉 If you like Tox Mod, give us a ⭐️ on <a target="_blank" rel="noopener noreferrer" href="https://github.com/Tox-Mod/ToxModBot">GitHub</a>',
},
image: 'https://toxmod.xyz/images/ToxModLogo.gif',
metadatas: [
{ name: 'twitter:card', content: 'summary' },
{ name: 'og:title', content: 'Tox Mod Documentation' },
],
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
},
blog: {
showReadingTime: true,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
scripts: [
{
src: 'https://kit.fontawesome.com/1932a73877.js',
crossorigin: 'anonymous',
},
],
};