1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

[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: { feed: {
json: true, json: true,
}, },
comment: { // comment: {
type: "giscus", // type: "giscus",
repo: "Snailclimb/JavaGuide", // repo: "Snailclimb/JavaGuide",
repoId: "MDEwOlJlcG9zaXRvcnkxMzI0NjQzOTU=", // repoId: "MDEwOlJlcG9zaXRvcnkxMzI0NjQzOTU=",
category: "Announcements", // category: "Announcements",
categoryId: "DIC_kwDOB-U_C84COYQF", // categoryId: "DIC_kwDOB-U_C84COYQF",
}, // },
search: { search: {
// https://v2.vuepress.vuejs.org/zh/reference/plugin/search.html // https://v2.vuepress.vuejs.org/zh/reference/plugin/search.html
// 排除首页 // 排除首页

View File

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