Skip to content

Commit

Permalink
update Giscus
Browse files Browse the repository at this point in the history
  • Loading branch information
Micah123321 committed Mar 13, 2024
1 parent 16dc13e commit c310aa5
Showing 1 changed file with 35 additions and 7 deletions.
42 changes: 35 additions & 7 deletions src/.vuepress/theme.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@
import { hopeTheme } from "vuepress-theme-hope";
import { enNavbar, zhNavbar, ruNavbar, idNavbar, esNavbar, mxNavbar, mmNavbar, viNavbar, ptNavbar, arNavbar, jpNavbar, trNavbar, koNavbar } from "./navbar/index.js";
import { enSidebar, zhSidebar, ruSidebar, idSidebar, esSidebar, mxSidebar, mmSidebar, viSidebar, ptSidebar, arSidebar, jpSidebar, trSidebar, koSidebar } from "./sidebar/index.js";
import {hopeTheme} from "vuepress-theme-hope";
import {
enNavbar,
zhNavbar,
ruNavbar,
idNavbar,
esNavbar,
mxNavbar,
mmNavbar,
viNavbar,
ptNavbar,
arNavbar,
jpNavbar,
trNavbar,
koNavbar
} from "./navbar/index.js";
import {
enSidebar,
zhSidebar,
ruSidebar,
idSidebar,
esSidebar,
mxSidebar,
mmSidebar,
viSidebar,
ptSidebar,
arSidebar,
jpSidebar,
trSidebar,
koSidebar
} from "./sidebar/index.js";


export default hopeTheme({
Expand Down Expand Up @@ -288,17 +316,17 @@ export default hopeTheme({
],
},
},
feed: { rss: true },
feed: {rss: true},
sitemap: {
changefreq: "always",
},
// You should generate and use your own comment service
comment: {
provider: "Giscus",
repo: "vuepress-theme-hope/giscus-discussions",
repoId: "R_kgDOG_Pt2A",
repo: "Korepi/korepi-docs",
repoId: "R_kgDOKvs_ww",
category: "Announcements",
categoryId: "DIC_kwDOG_Pt2M4COD69",
categoryId: "DIC_kwDOKvs_w84Cd8Xr",
},

// All features are enabled for demo, only preserve features you need here
Expand Down

0 comments on commit c310aa5

Please sign in to comment.