This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathdocusaurus.config.js
139 lines (139 loc) · 3.65 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
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.",
},
{
name: 'keywords',
content:
'MoonDAO,Mooney,DAO,space,to the moon,space research,space exploration,web3,web nasa',
},
],
colorMode: {
disableSwitch: true,
},
navbar: {
// title: 'MoonDAO',
logo: {
alt: 'MoonDAO Logo moon dao',
src: 'img/Original_White.png',
},
hideOnScroll: true,
items: [
{
position: 'left',
className: 'twitterNavbar',
to: 'https://twitter.com/OfficialMoonDAO',
},
{
position: 'left',
className: 'discordNavbar',
to: 'https://discord.com/invite/5nAu7K9aES',
},
{
type: 'localeDropdown',
position: 'right',
},
{
to: '/docs/introduction',
activeBasePath: 'docs',
label: 'Documentation',
position: 'right',
},
{
to: '/#community',
label: 'Contribute',
position: 'right',
},
{
label: 'Governance',
position: 'right',
items: [
{
label: 'Snapshot',
href: 'https://snapshot.org/#/tomoondao.eth',
},
{
label: 'Forum',
href: 'https://forum.moondao.com/',
},
],
},
],
},
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/Original_Black.png',
},
copyright: `Copyright © ${new Date().getFullYear()} MoonDAO.`,
},
},
presets: [
[
'classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
googleAnalytics: {
trackingID: 'UA-233494912-1',
},
},
],
],
plugins: ['docusaurus-plugin-sass'],
i18n: {
defaultLocale: 'en',
locales: ['en', 'zh-Hans', 'es'],
},
};