-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
98 lines (97 loc) · 2.29 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
const config = {
title: 'PureSkill.gg Docs',
tagline: 'Beep Boop.',
url: 'https://docs.pureskill.gg',
baseUrl: '/',
favicon: 'https://csgo.cdn.pureskill.app/17.2.0/favicon.ico',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
i18n: {
defaultLocale: 'en',
locales: ['en']
},
plugins: ['posthog-docusaurus'],
themeConfig: {
posthog: {
apiKey: process.env.POSTHOG_API_KEY ?? ' ',
appUrl: 'https://csgo.pureskill.gg/_ph',
enableInDevelopment: false
},
colorMode: {
defaultMode: 'dark',
disableSwitch: false,
respectPrefersColorScheme: false
},
navbar: {
title: 'Docs',
style: 'dark',
logo: {
alt: 'PureSkill.gg',
src: 'https://csgo.cdn.pureskill.app/static/media/logo.1f05cf872108db3584aac879e4c48cef.svg',
width: 202,
height: 23
},
items: [
{
href: 'https://pureskill.gg',
label: 'Home',
position: 'right'
},
{
href: 'https://pureskill.gg/discord',
label: 'Discord',
position: 'right'
},
{
href: 'https://github.com/pureskillgg/docs',
label: 'GitHub',
position: 'right'
}
]
},
footer: {
style: 'dark',
logo: {
alt: 'PureSkill.gg',
src: 'https://csgo.cdn.pureskill.app/static/media/logo.1f05cf872108db3584aac879e4c48cef.svg',
width: 202,
height: 23
},
copyright: `Copyright © 2019-${new Date().getFullYear()} FPS Critic, Inc.`,
links: [
{
label: 'PureSkill.gg',
to: 'https://pureskill.gg'
},
{
label: 'GitHub',
to: 'https://github.com/pureskillgg'
},
{
label: 'Discord',
to: 'https://pureskill.gg/discord'
},
{
label: 'Contact',
to: 'mailto:[email protected]'
}
]
}
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
routeBasePath: '/',
editUrl: 'https://github.com/pureskillgg/docs/tree/master/'
},
blog: false,
theme: {
customCss: [require.resolve('./src/css/custom.css')]
}
}
]
]
}
module.exports = config