Skip to content

Commit cee286e

Browse files
committed
[docs feat]升级vuepress主题版本&暂停评论功能
1 parent 5036625 commit cee286e

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

docs/.vuepress/themeConfig.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ export default defineThemeConfig({
4141
feed: {
4242
json: true,
4343
},
44-
comment: {
45-
type: "giscus",
46-
repo: "Snailclimb/JavaGuide",
47-
repoId: "MDEwOlJlcG9zaXRvcnkxMzI0NjQzOTU=",
48-
category: "Announcements",
49-
categoryId: "DIC_kwDOB-U_C84COYQF",
50-
},
44+
// comment: {
45+
// type: "giscus",
46+
// repo: "Snailclimb/JavaGuide",
47+
// repoId: "MDEwOlJlcG9zaXRvcnkxMzI0NjQzOTU=",
48+
// category: "Announcements",
49+
// categoryId: "DIC_kwDOB-U_C84COYQF",
50+
// },
5151
search: {
5252
// https://v2.vuepress.vuejs.org/zh/reference/plugin/search.html
5353
// 排除首页

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
"author": "Guide",
88
"scripts": {
99
"vite-build": "vuepress-vite build docs",
10-
"vite-clean-serve": "vuepress-vite dev docs --clean-cache",
1110
"vite-serve": "vuepress-vite dev docs",
11+
"vite-clean-serve": "vuepress-vite dev docs --clean-cache",
1212
"webpack-build": "vuepress-webpack build docs",
1313
"webpack-clean-serve": "vuepress-webpack dev docs --clean-cache",
1414
"webpack-serve": "vuepress-webpack dev docs"
1515
},
1616
"devDependencies": {
17-
"vuepress-theme-hope": "2.0.0-beta.32",
18-
"vuepress-vite": "2.0.0-beta.37",
19-
"vuepress-webpack": "2.0.0-beta.37",
20-
"@vuepress/plugin-search": "^2.0.0-beta.37"
17+
"@vuepress/plugin-search": "^2.0.0-beta.38",
18+
"vuepress-theme-hope": "^2.0.0-beta.36",
19+
"vuepress-vite": "2.0.0-beta.38",
20+
"vuepress-webpack": "2.0.0-beta.38"
2121
}
2222
}

0 commit comments

Comments
 (0)