forked from Wind-protocols/wind-protocol-doc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.js
74 lines (71 loc) · 1.76 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
module.exports = {
title: "windmetaverse",
tagline: " A metaverse on Solana",
url: "https://www.windprotocol.org/",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/wind.png",
organizationName: "biveivk", // Usually your GitHub org/user name.
projectName: "windmetaverse-docs", // Usually your repo name.
i18n: {
defaultLocale: 'zh-cn',
locales: ['zh-cn', 'en','zh-hk'],
},themeConfig: {
colorMode: {
// "light" | "dark"
defaultMode: "dark",
},navbar: {
title: "Windmetaverse",
logo: {
alt: "windmetaverse logo",
src: "img/wind.png",
},items: [
{
type: 'localeDropdown',
position: "right",
},
{
href: "https://www.windmetaverse.com/",
label: "website",
position: "left",
},
],
},footer: {
style: "dark",
links: [
{
title: "Community",
items: [
{
label: "Discord",
href: "https://discord.gg/9PyKRev8TE",
},
{
label: "Twitter",
href: "https://twitter.com/windmetaverse",
},
{
label: "Telegram",
href: "https://t.me/joinchat/mNxJoJn4p4JhYjU1",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} windmetaverse. Built with Docusaurus.`,
},
},presets: [
[
"@docusaurus/preset-classic",
{
theme: {
customCss: [require.resolve("./src/css/custom.css")],
},
docs: {
routeBasePath: "/",
sidebarPath: require.resolve("./sidebars.js"),
},
},
],
],
};