forked from MetaFam/metagame-wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
89 lines (89 loc) · 2.18 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
module.exports = {
title: 'MetaGame Wiki',
tagline: 'Build the future you want to live in.',
url: 'https://wiki.metagame.wtf',
baseUrl: '/',
favicon: 'img/mg-icon.png',
organizationName: 'MetaFam',
projectName: 'metagame-wiki',
customFields: {
GA_TAG: process.env.GA_TAG,
},
themeConfig: {
colorMode: {
defaultMode: 'dark',
disableSwitch: true,
},
// headerLinks: [{ page: 'help', label: 'Help' }],
navbar: {
title: 'MetaGame Wiki',
logo: {
alt: 'MetaGame Logo',
src: 'img/mg-crystal.png',
},
},
// footer: {
// style: 'dark',
// links: [
// {
// title: 'The Game',
// items: [
// {
// label: '🌌 Interspace',
// href: 'https://interspace.metagame.wtf',
// },
// {
// label: '🧬 The Source',
// href: 'https://metafam.github.io/TheSource/timeline/@metagame/',
// },
// ],
// },
// {
// title: 'Community',
// items: [
// {
// label: '💬 Discord',
// href: 'https://discord.gg/VYZPBnx',
// },
// {
// label: '🧵 Forums',
// href: 'https://forum.metagame.wtf',
// },
// ],
// },
// {
// title: 'Social',
// items: [
// {
// label: '🐦 Twitter',
// href: 'https://twitter.com/MetaFam',
// },
// {
// label: '🗞 Newsletter',
// href: 'https://metagame.substack.com',
// },
// ],
// },
// ],
// },
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://wiki.metagame.wtf/admin/#/?',
},
theme: {
customCss: require.resolve('./src/css/custom.scss'),
},
},
],
],
plugins: [
require.resolve('docusaurus-lunr-search'),
require.resolve('docusaurus-plugin-sass'),
'docusaurus2-dotenv',
],
};