-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathdocusaurus.config.js
169 lines (169 loc) · 4.63 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
module.exports = {
// plugins: [require.resolve("docusaurus-plugin-less")],
title: '数学与计算科学学院创新实践基地',
tagline: '真实、专注、卓越、不设限、创新',
url: 'https://seven-innovation-base.github.io',
baseUrl: '/',
favicon: 'img/logo.png',
organizationName: 'seven-innovation-base', // Usually your GitHub org/user name.
projectName: 'seven-innovation-base.github.io', // Usually your repo name.
deploymentBranch: 'master',
themeConfig: {
hideableSidebar: true,
navbar: {
title: '数学与计算科学学院创新实践基地',
logo: {
alt: 'Site Logo',
src: 'img/logo.png',
},
items: [{
to: 'docs/',
activeBasePath: 'docs',
label: '文档',
position: 'left',
},
{
to: 'blog',
label: '博客',
position: 'left'
},
{
to: 'members',
label: '团队成员',
position: 'left'
},
{
to: 'HistoricalHonor',
label: '历史荣誉',
position: 'left'
},
{
to: 'IndexRegistration',
label: '加入我们!',
position: 'left'
},
{
href: 'https://github.com/seven-innovation-base/',
className: 'header-github-link',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [{
title: '文档',
items: [{
label: 'Git协作练习',
to: 'https://seven-innovation-base.github.io/Git2Github-practice/',
},
{
label: '老版本文档',
to: 'https://seveninnovationbasedoc.readthedocs.io/zh_CN/latest/',
},
],
},
{
title: '社区',
items: [{
label: 'QQ 群',
href: 'https://mypic-1258313760.cos.ap-guangzhou.myqcloud.com/img/20200530125127.jpg',
},
{
label: '站点问题反馈',
href: 'https://github.com/seven-innovation-base/official-website/issues',
},
/*
{
html: `
<a href="https://www.netlify.com" target="_blank" rel="noreferrer noopener" aria-label="Deploys by Netlify">
<img src="https://www.netlify.com/img/global/badges/netlify-color-accent.svg" alt="Deploys by Netlify" />
</a>
`,
}
*/
],
},
{
title: '更多',
items: [{
label: '博客',
to: 'blog',
},
{
label: 'GitHub',
href: 'https://github.com/facebook/docusaurus/',
},
],
},
{
title: '常用链接',
items: [{
label: '桂电官网',
href: 'https://www.guet.edu.cn/',
},
{
label: '学院官网',
href: 'https://www.guet.edu.cn/dept7/',
},
{
label: '桂电信技中心',
href: 'https://www.guet.edu.cn/xjzx/index.htm',
},
],
},
{
title: '友情链接',
items: [
{
label: '三院科协',
href: 'https://hello.kexie.space/',
},
{
label: '校基地软件部',
href: 'https://csd.moe/',
},
],
},
{
title: '社区合作伙伴',
items: [
{
label: '牛客网',
href: 'https://www.nowcoder.com/',
},
],
},
],
/*
logo: {
alt: 'Seven Innovation Base Logo',
src: 'img/logo.png',
href: '',
},
*/
copyright: `Copyright © 2003-${new Date().getFullYear()} Seven Innovation Base. Built with Docusaurus.`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
// It is recommended to set document id as docs home page (`docs/` path).
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl: 'https://github.com/seven-innovation-base/official-website/tree/main',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
editUrl: 'https://github.com/seven-innovation-base/official-website/tree/main',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
]
};