-
Notifications
You must be signed in to change notification settings - Fork 45.8k
/
Copy paththemeConfig.ts
50 lines (49 loc) · 1.14 KB
/
themeConfig.ts
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
import { hopeTheme } from "vuepress-theme-hope";
import { navbarConfig } from "./navbar";
import { sidebarConfig } from "./sidebar";
export const themeConfig = hopeTheme({
logo: "/logo.png",
hostname: "https://javaguide.cn/",
author: {
name: "Guide",
url: "https://javaguide.cn/article/",
},
repo: "https://github.com/Snailclimb/JavaGuide",
docsDir: "docs",
iconAssets: "//at.alicdn.com/t/c/font_2922463_fi3mvhn3c1.css",
navbar: navbarConfig,
sidebar: sidebarConfig,
pageInfo: [
"Author",
"Category",
"Tag",
"Date",
"Original",
"Word",
"ReadingTime",
],
blog: {
intro: "/about-the-author/",
sidebarDisplay: "mobile",
medias: {
Zhihu: "https://www.zhihu.com/people/javaguide",
Github: "https://github.com/Snailclimb",
Gitee: "https://gitee.com/SnailClimb",
},
},
footer:
'<a href="https://beian.miit.gov.cn/" target="_blank">鄂ICP备2020015769号-1</a>',
displayFooter: true,
plugins: {
blog: true,
copyright: true,
mdEnhance: {
codetabs: true,
container: true,
tasklist: true,
},
feed: {
json: true,
},
},
});