mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-20 22:17:09 +08:00
🔥[docs feat] 添加基于 giscus 的评论功能
This commit is contained in:
parent
4a50a55e30
commit
7faf4d247b
@ -15,14 +15,7 @@ export default defineThemeConfig({
|
|||||||
pure: true,
|
pure: true,
|
||||||
navbar: navbarConfig,
|
navbar: navbarConfig,
|
||||||
sidebar: sidebarConfig,
|
sidebar: sidebarConfig,
|
||||||
pageInfo: [
|
pageInfo: ["Author", "Category", "Tag", "Date", "Original", "Word"],
|
||||||
"Author",
|
|
||||||
"Category",
|
|
||||||
"Tag",
|
|
||||||
"Date",
|
|
||||||
"Original",
|
|
||||||
"Word",
|
|
||||||
],
|
|
||||||
blog: {
|
blog: {
|
||||||
intro: "/about-the-author/",
|
intro: "/about-the-author/",
|
||||||
sidebarDisplay: "mobile",
|
sidebarDisplay: "mobile",
|
||||||
@ -48,6 +41,13 @@ export default defineThemeConfig({
|
|||||||
feed: {
|
feed: {
|
||||||
json: true,
|
json: true,
|
||||||
},
|
},
|
||||||
|
comment: {
|
||||||
|
type: "giscus",
|
||||||
|
repo: "Snailclimb/JavaGuide",
|
||||||
|
repoId: "MDEwOlJlcG9zaXRvcnkxMzI0NjQzOTU=",
|
||||||
|
category: "Announcements",
|
||||||
|
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
|
||||||
// 排除首页
|
// 排除首页
|
||||||
|
@ -14,9 +14,9 @@
|
|||||||
"webpack-serve": "vuepress-webpack dev docs"
|
"webpack-serve": "vuepress-webpack dev docs"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"vuepress-theme-hope": "2.0.0-beta.28",
|
"vuepress-theme-hope": "2.0.0-beta.32",
|
||||||
"vuepress-vite": "2.0.0-beta.36",
|
"vuepress-vite": "2.0.0-beta.37",
|
||||||
"vuepress-webpack": "2.0.0-beta.36",
|
"vuepress-webpack": "2.0.0-beta.37",
|
||||||
"@vuepress/plugin-search": "^2.0.0-beta.36"
|
"@vuepress/plugin-search": "^2.0.0-beta.37"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user