forked from Official-MoonDao/moondaowww
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
112 lines (112 loc) · 2.93 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
module.exports = {
title: 'MoonDAO',
tagline: 'Decentralize space.',
url: 'https://moondao.com',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'Official-MoonDao', // Usually your GitHub org/user name.
projectName: 'moondaowww', // Usually your repo name.
trailingSlash: false,
// scripts: [{src: 'https://plausible.io/js/plausible.js', async: true, defer: true, 'data-domain': 'moondao.com'}],
// Add Plausible if we want privacy focused analytics. $6/month.
themeConfig: {
image: 'img/moondao-one-small-step.png', // TODO update image
metadata: [
{name: 'og:type', content: 'website'},
{
name: 'og:description',
content: "MoonDAO's mission is to decentralize access to space.",
},
{name: 'og:site_name', content: 'MoonDAO'},
{name: 'twitter:card', content: 'summary_large_image'},
{name: 'twitter:site', content: '@OfficialMoonDAO'},
{name: 'twitter:title', content: 'MoonDAO'},
{
name: 'twitter:description',
content: "MoonDAO's mission is to decentralize access to space.",
},
],
colorMode: {
disableSwitch: true,
},
navbar: {
title: 'MoonDAO',
logo: {
alt: 'MoonDAO Logo moon dao',
src: 'img/moondaologo.png',
},
hideOnScroll: true,
items: [
{
type: 'localeDropdown',
position: 'left',
},
{
to: '/docs/introduction',
activeBasePath: 'docs',
label: 'Documentation',
position: 'right',
},
{
to: '/#community',
label: 'Contribute',
position: 'right',
},
{
to: 'https://snapshot.org/#/tomoondao.eth',
label: 'Governance',
position: 'right',
},
],
},
footer: {
links: [
{
items: [
{
to: '/docs/introduction',
label: 'Documentation',
},
{
label: 'Twitter',
href: 'https://twitter.com/OfficialMoonDAO',
},
{
label: 'Discord',
href: 'https://discord.gg/5nAu7K9aES',
},
{
label: 'Github',
href: 'https://github.com/Official-MoonDao',
},
],
},
],
logo: {
alt: 'MoonDAO logo moondao moon dao',
src: 'img/moondaologo.png',
},
copyright: `Copyright © ${new Date().getFullYear()} MoonDAO.`,
},
},
presets: [
[
'classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
plugins: ['docusaurus-plugin-sass'],
i18n: {
defaultLocale: 'en',
locales: ['en', 'zh-Hans', 'es'],
},
};