Skip to content

Commit 3c36202

Browse files
author
yike.liang
committed
deploy
1 parent 5f0c250 commit 3c36202

File tree

3 files changed

+21
-13
lines changed

3 files changed

+21
-13
lines changed

src/.vuepress/navbar.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { navbar } from "vuepress-theme-hope";
22

33
export default navbar([
44
"/",
5-
"/portfolio",
5+
// "/portfolio",
66
"/demo/",
77
{
88
text: "指南",
@@ -25,12 +25,12 @@ export default navbar([
2525
},
2626
{
2727
text: "简历求职",
28-
prefix: "/work",
28+
prefix: "/work/",
2929
children: [
3030
{
3131
text: "简历网站",
32-
link: "/resume-site/jian-li-wang-zhan-tui-jian.md",
33-
},
32+
link: "resume-site/jian-li-wang-zhan-tui-jian.md",
33+
}
3434
]
3535
},
3636
]);

src/.vuepress/theme.ts

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,26 @@ export default hopeTheme({
1313

1414
logo: "https://theme-hope-assets.vuejs.press/logo.svg",
1515

16+
// github 仓库
1617
repo: "https://github.com/javashub/javashub.github.io",
1718

19+
// 文档目录
1820
docsDir: "src",
1921

22+
// 纯净模式 在这个模式下,我们会禁用一些花哨的动画以及一些色彩,只提供功能
23+
// pure: true,
24+
25+
// 全屏按钮
26+
fullscreen: true,
27+
2028
// 导航栏
2129
navbar,
2230

2331
// 侧边栏
2432
sidebar,
2533

2634
// 页脚
27-
footer: 'Deploy by VuePress,Theme <a href="https://theme-hope.vuejs.press/zh/" target="_blank">VuePress Theme Hope</a> | Copyright © 2022-present JavasHub',
35+
footer: 'Deploy by VuePress,Theme <a href="https://theme-hope.vuejs.press/zh/" target="_blank">VuePress Theme Hope</a>',
2836
displayFooter: true,
2937

3038
// 加密配置
@@ -120,13 +128,13 @@ export default hopeTheme({
120128
// 在这里配置主题提供的插件
121129
plugins: {
122130
// 注意: 仅用于测试! 你必须自行生成并在生产环境中使用自己的评论服务
123-
comment: {
124-
provider: "Giscus",
125-
repo: "vuepress-theme-hope/giscus-discussions",
126-
repoId: "R_kgDOG_Pt2A",
127-
category: "Announcements",
128-
categoryId: "DIC_kwDOG_Pt2M4COD69",
129-
},
131+
// comment: {
132+
// provider: "Giscus",
133+
// repo: "vuepress-theme-hope/giscus-discussions",
134+
// repoId: "R_kgDOG_Pt2A",
135+
// category: "Announcements",
136+
// categoryId: "DIC_kwDOG_Pt2M4COD69",
137+
// },
130138

131139
components: {
132140
components: ["Badge", "VPCard"],

src/demo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 主要功能与配置演示
2+
title: 功能演示
33
index: false
44
icon: laptop-code
55
category:

0 commit comments

Comments
 (0)