[docs feat]升级vuepress主题版本&暂停评论功能

This commit is contained in:
guide 2022-04-07 17:07:37 +08:00
parent 5036625207
commit cee286e5fc
2 changed files with 12 additions and 12 deletions

View File

@ -41,13 +41,13 @@ export default defineThemeConfig({
feed: {
json: true,
},
comment: {
type: "giscus",
repo: "Snailclimb/JavaGuide",
repoId: "MDEwOlJlcG9zaXRvcnkxMzI0NjQzOTU=",
category: "Announcements",
categoryId: "DIC_kwDOB-U_C84COYQF",
},
// comment: {
// type: "giscus",
// repo: "Snailclimb/JavaGuide",
// repoId: "MDEwOlJlcG9zaXRvcnkxMzI0NjQzOTU=",
// category: "Announcements",
// categoryId: "DIC_kwDOB-U_C84COYQF",
// },
search: {
// https://v2.vuepress.vuejs.org/zh/reference/plugin/search.html
// 排除首页

View File

@ -7,16 +7,16 @@
"author": "Guide",
"scripts": {
"vite-build": "vuepress-vite build docs",
"vite-clean-serve": "vuepress-vite dev docs --clean-cache",
"vite-serve": "vuepress-vite dev docs",
"vite-clean-serve": "vuepress-vite dev docs --clean-cache",
"webpack-build": "vuepress-webpack build docs",
"webpack-clean-serve": "vuepress-webpack dev docs --clean-cache",
"webpack-serve": "vuepress-webpack dev docs"
},
"devDependencies": {
"vuepress-theme-hope": "2.0.0-beta.32",
"vuepress-vite": "2.0.0-beta.37",
"vuepress-webpack": "2.0.0-beta.37",
"@vuepress/plugin-search": "^2.0.0-beta.37"
"@vuepress/plugin-search": "^2.0.0-beta.38",
"vuepress-theme-hope": "^2.0.0-beta.36",
"vuepress-vite": "2.0.0-beta.38",
"vuepress-webpack": "2.0.0-beta.38"
}
}