Skip to content

Commit e2a8579

Browse files
committed
[docs update]vuepress主题升级到beta版本
1 parent 1df42d4 commit e2a8579

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

docs/.vuepress/themeConfig.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ import { sidebarConfig } from "./sidebar";
55
export default defineThemeConfig({
66
logo: "/logo.png",
77
hostname: "https://javaguide.cn/",
8-
author: "Guide哥",
8+
author: {
9+
name: "Guide",
10+
url: "https://javaguide.cn/",
11+
},
912
repo: "https://github.com/Snailclimb/JavaGuide",
1013
docsDir: "docs",
1114
iconPrefix: "iconfont icon-",
@@ -34,6 +37,9 @@ export default defineThemeConfig({
3437
plugins: ["highlight", "math", "search", "notes", "zoom"],
3538
},
3639
},
40+
feed: {
41+
json: true,
42+
},
3743
// docsearch: {
3844
// appId: "",
3945
// apiKey: "",

package.json

+2-6
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"description": "javaguide",
66
"license": "MIT",
7-
"author": "Mr.Hope",
7+
"author": "Guide",
88
"scripts": {
99
"vite-build": "vuepress-vite build docs",
1010
"vite-clean-serve": "vuepress-vite dev docs --clean-cache",
@@ -15,12 +15,8 @@
1515
},
1616
"devDependencies": {
1717
"@vuepress/plugin-docsearch": "2.0.0-beta.36",
18-
"@vuepress/plugin-pwa": "2.0.0-beta.36",
19-
"@vuepress/plugin-pwa-popup": "2.0.0-beta.36",
20-
"@vuepress/plugin-register-components": "2.0.0-beta.36",
21-
"@vuepress/plugin-shiki": "2.0.0-beta.36",
2218
"cross-env": "7.0.3",
23-
"vuepress-theme-hope": "2.0.0-alpha.41",
19+
"vuepress-theme-hope": "2.0.0-beta.2",
2420
"vuepress-vite": "2.0.0-beta.36",
2521
"vuepress-webpack": "2.0.0-beta.36"
2622
}

0 commit comments

Comments
 (0)