-
Notifications
You must be signed in to change notification settings - Fork 4
/
docusaurus.config.js
167 lines (164 loc) · 6.12 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
module.exports = {
title: 'Gin-Vue-Admin',
tagline: '使用gin+vue进行极速开发的全栈开发基础平台',
url: 'http://demo.henrongyi.com',
baseUrl: '/',
onBrokenLinks: 'throw',
favicon: 'img/favicon.ico',
organizationName: 'flipped-aurora', // Usually your GitHub org/user name.
projectName: 'gin-vue-admin', // Usually your repo name.
themeConfig: {
colorMode: {
disableSwitch: true,
},
navbar: {
title: 'Gin-Vue-Admin',
logo: {
alt: 'Gin-Vue-Admin',
src: 'img/logo.png',
},
items: [{
href: 'http://demo.gin-vue-admin.com/',
label: '在线体验',
position: 'right',
},
{
href: 'https://plugin.gin-vue-admin.com/',
label: '插件广场(测试版)',
position: 'right',
},
{
to: 'about/',
label: '关于我们',
position: 'right',
},
{
to: 'docs/coffee',
label: '捐赠入口',
position: 'right',
},
{
label: '官方社区',
position: 'right',
items: [{
href: 'https://space.bilibili.com/322210472',
label: '教学视频',
position: 'right',
},
{
href: 'https://support.qq.com/products/371961',
label: '在线交流',
position: 'right',
},
{
href: 'https://www.yuque.com/flipped-aurora/',
label: '知识库',
position: 'right',
},
]
},
{
label: "下载地址",
position: "right",
items: [{
href: 'https://github.com/flipped-aurora/gin-vue-admin',
label: 'GitHub',
position: 'right',
},
{
href: 'https://gitee.com/pixelmax/gin-vue-admin',
label: 'Gitee',
position: 'right',
},
]
},
{
label: '特惠服务器',
position: 'right',
items: [{
href: 'https://www.aliyun.com/minisite/goods?userCode=xqe01uob',
label: '阿里服务器',
position: 'right',
}, {
href: 'https://cloud.tencent.com/act/new?fromSource=gwzcw.4325959.4325959.4325959&utm_medium=cps&utm_id=gwzcw.4325959.4325959.4325959&cps_key=962a7fdaa930cda1c06e36a7608e95cc',
label: '腾讯服务器',
position: 'right',
}]
},
],
},
footer: {
style: 'dark',
links: [{
title: '团队项目',
items: [{
label: 'gf-vue-admin',
to: 'https://github.com/flipped-aurora/gf-vue-admin',
},
{
label: 'gin-vue-admin',
to: 'https://github.com/flipped-aurora/gin-vue-admin',
},
{
label: 'melody',
to: 'https://github.com/flipped-aurora/melody',
},
],
},
{
title: '社区',
items: [{
label: '语雀博客',
href: 'https://www.yuque.com/flipped-aurora/gqbcfk',
},
{
label: '视频教程',
href: 'https://space.bilibili.com/322210472',
},
{
label: '问题反馈',
href: 'https://github.com/flipped-aurora/gin-vue-admin/issues',
},
],
},
{
title: '友情链接',
items: [
{
label: '秒点远控|让距离不再有距离的远控系统',
to: 'https://www.geelevel.com/',
},
{
label:'H5-Dooring | H5页面制作神器',
to:'http://h5.dooring.cn',
},
{
label: 'golang 开发工具包,json、sql 转 struct',
to: 'http://www.golangs.cn/',
}],
},
],
// logo: {
// alt: 'Facebook Open Source Logo',
// src: 'img/fa.png',
// href: 'https://github.com/flipped-aurora/',
// },
copyright: `Copyright © ${new Date().getFullYear()} flipped-aurora`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
// It is recommended to set document id as docs home page (`docs/` path).
homePageId: 'introduce',
sidebarPath: require.resolve('./sidebars.js'),
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};