-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
50 lines (49 loc) · 1.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
/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
module.exports = {
title: "零碎",
tagline: "弱水三千,只取一瓢",
url: "https://liujinxing.github.io",
baseUrl: "/piece/",
favicon: "img/favicon.ico",
organizationName: "liujinxing", // Usually your GitHub org/user name.
projectName: "piece", // Usually your repo name.
themeConfig: {
navbar: {
title: "零碎",
logo: {
alt: "My Site Logo",
src: "img/logo.svg"
},
links: [
{ to: "blog", label: "博客", position: "left" },
{
href: "https://github.com/liujinxing/piece",
label: "GitHub",
position: "right"
}
]
},
footer: {
style: "dark",
copyright: `Copyright © ${new Date().getFullYear()} liujinxing.`
}
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js")
},
theme: {
customCss: require.resolve("./src/css/custom.css")
}
}
]
]
};