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

🔥[docs feat] 添加基于 giscus 的评论功能

This commit is contained in:
guide 2022-04-02 12:34:21 +08:00
parent 4a50a55e30
commit 7faf4d247b
2 changed files with 12 additions and 12 deletions

View File

@ -15,14 +15,7 @@ export default defineThemeConfig({
pure: true,
navbar: navbarConfig,
sidebar: sidebarConfig,
pageInfo: [
"Author",
"Category",
"Tag",
"Date",
"Original",
"Word",
],
pageInfo: ["Author", "Category", "Tag", "Date", "Original", "Word"],
blog: {
intro: "/about-the-author/",
sidebarDisplay: "mobile",
@ -48,6 +41,13 @@ export default defineThemeConfig({
feed: {
json: true,
},
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

@ -14,9 +14,9 @@
"webpack-serve": "vuepress-webpack dev docs"
},
"devDependencies": {
"vuepress-theme-hope": "2.0.0-beta.28",
"vuepress-vite": "2.0.0-beta.36",
"vuepress-webpack": "2.0.0-beta.36",
"@vuepress/plugin-search": "^2.0.0-beta.36"
"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"
}
}