-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
executable file
·90 lines (90 loc) · 2.22 KB
/
docusaurus.config.js
File metadata and controls
executable file
·90 lines (90 loc) · 2.22 KB
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
module.exports = {
title: 'NCNU OpenSource',
tagline: 'OpenSource related in NCNU',
url: 'https://lsa.moli.rocks/',
baseUrl: '/',
favicon: 'img/favicon.ico',
organizationName: 'NCNU-OpenSource', // Usually your GitHub org/user name.
projectName: 'NCNU-OpenSource.github.io', // Usually your repo name.
themeConfig: {
navbar: {
title: 'NCNU OpenSource',
logo: {
alt: 'My Site Logo',
src: 'img/logo.svg',
},
links: [
{to: 'docs/readme', label: 'Notes', position: 'left'},
{
href: 'https://github.com/NCNU-OpenSource/',
label: 'GitHub',
position: 'right',
},
{
href: 'https://t.me/MOLi_rocks',
label: 'Telegram',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Related Links',
items: [
{
label: 'Notes',
to: 'docs/readme',
},
{
label: 'Blog',
href: 'https://blog.moli.rocks/',
},
],
},
{
title: 'Social',
items: [
{
label: 'Facebook',
href: 'https://www.facebook.com/groups/NCNU.OpenSource/',
},
{
label: 'GitHub',
href: 'https://github.com/NCNU-OpenSource/',
},
{
label: 'Telegram',
href: 'https://t.me/MOLi_rocks',
},
],
},
],
copyright: `Copyright © NCNU OpenSource BY-SA 4.0. Built with Docusaurus.`,
},
googleAnalytics: {
trackingID: 'UA-65940060-4',
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/NCNU-OpenSource/NCNU-OpenSource.github.io/edit/src/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
sitemap: {
cacheTime: 600 * 1000, // 600 sec - cache purge period
changefreq: 'weekly',
priority: 0.5,
}
},
],
],
};