diff --git a/docs/.vuepress/themeConfig.ts b/docs/.vuepress/themeConfig.ts index 56bfb005..6cd5a6b9 100644 --- a/docs/.vuepress/themeConfig.ts +++ b/docs/.vuepress/themeConfig.ts @@ -5,7 +5,10 @@ import { sidebarConfig } from "./sidebar"; export default defineThemeConfig({ logo: "/logo.png", hostname: "https://javaguide.cn/", - author: "Guideå“¥", + author: { + name: "Guide", + url: "https://javaguide.cn/", + }, repo: "https://github.com/Snailclimb/JavaGuide", docsDir: "docs", iconPrefix: "iconfont icon-", @@ -34,6 +37,9 @@ export default defineThemeConfig({ plugins: ["highlight", "math", "search", "notes", "zoom"], }, }, + feed: { + json: true, + }, // docsearch: { // appId: "", // apiKey: "", diff --git a/package.json b/package.json index bf20bd80..a294bf31 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "description": "javaguide", "license": "MIT", - "author": "Mr.Hope", + "author": "Guide", "scripts": { "vite-build": "vuepress-vite build docs", "vite-clean-serve": "vuepress-vite dev docs --clean-cache", @@ -15,12 +15,8 @@ }, "devDependencies": { "@vuepress/plugin-docsearch": "2.0.0-beta.36", - "@vuepress/plugin-pwa": "2.0.0-beta.36", - "@vuepress/plugin-pwa-popup": "2.0.0-beta.36", - "@vuepress/plugin-register-components": "2.0.0-beta.36", - "@vuepress/plugin-shiki": "2.0.0-beta.36", "cross-env": "7.0.3", - "vuepress-theme-hope": "2.0.0-alpha.41", + "vuepress-theme-hope": "2.0.0-beta.2", "vuepress-vite": "2.0.0-beta.36", "vuepress-webpack": "2.0.0-beta.36" }