diff --git a/docs/.vuepress/theme.ts b/docs/.vuepress/theme.ts index 3e5fd11..7f68ab3 100644 --- a/docs/.vuepress/theme.ts +++ b/docs/.vuepress/theme.ts @@ -28,6 +28,7 @@ export default hopeTheme({ sidebar, plugins: { + git: process.env.NODE_ENV === "production", // 代码块 shiki: { langs: ["kotlin", "python", "java"],