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

[docs update]vuepress主题升级到beta版本

This commit is contained in:
guide 2022-03-05 08:49:57 +08:00
parent 1df42d4ed4
commit e2a85796de
2 changed files with 9 additions and 7 deletions

View File

@ -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: "",

View File

@ -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"
}