From 5e45eaf90181960d8d5cf9b7db13a64fa40e2f88 Mon Sep 17 00:00:00 2001 From: xugaoyi <894072666@qq.com> Date: Sat, 30 Oct 2021 18:34:03 +0800 Subject: [PATCH] v1.8.5 --- docs/.vuepress/config/themeConfig.js | 1 - package.json | 6 +++--- theme-vdoing/components/RightMenu.vue | 24 ++++++++++++++---------- theme-vdoing/package.json | 2 +- 4 files changed, 18 insertions(+), 15 deletions(-) diff --git a/docs/.vuepress/config/themeConfig.js b/docs/.vuepress/config/themeConfig.js index 19a05d8..5bf3340 100644 --- a/docs/.vuepress/config/themeConfig.js +++ b/docs/.vuepress/config/themeConfig.js @@ -42,7 +42,6 @@ module.exports = { // rightMenuBar: false, // 是否显示右侧文章大纲栏,默认true (屏宽小于1300px下无论如何都不显示) // sidebarOpen: false, // 初始状态是否打开侧边栏,默认true // pageButton: false, // 是否显示快捷翻页按钮,默认true - // sidebarHoverTriggerOpen: false, // 当侧边栏关闭时,是否允许鼠标滑动到左侧边弹出侧边栏,默认true sidebar: 'structuring', // 侧边栏 'structuring' | { mode: 'structuring', collapsable: Boolean} | 'auto' | 自定义 温馨提示:目录页数据依赖于结构化的侧边栏数据,如果你不设置为'structuring',将无法使用目录页 diff --git a/package.json b/package.json index 5510800..3c8a1ac 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "deploy": "bash deploy.sh", "editFm": "node utils/editFrontmatter.js", "baiduPush": "node utils/baiduPush.js https://xugaoyi.com && bash baiduPush.sh", - "publish": "cd ./theme-vdoing && npm publish && cd ../ && npm run updateTheme", - "updateTheme": "npm uninstall vuepress-theme-vdoing && rm -rf node_modules && npm i && npm i vuepress-theme-vdoing -D" + "publish": "cd ./theme-vdoing && npm publish && cd .. && yarn updateTheme", + "updateTheme": "yarn remove vuepress-theme-vdoing && rm -rf node_modules && yarn && yarn add vuepress-theme-vdoing -D" }, "license": "MIT", "devDependencies": { @@ -22,7 +22,7 @@ "vuepress-plugin-one-click-copy": "^1.0.2", "vuepress-plugin-thirdparty-search": "^1.0.2", "vuepress-plugin-zooming": "^1.1.7", - "vuepress-theme-vdoing": "^1.8.4", + "vuepress-theme-vdoing": "^1.8.5", "yamljs": "^0.3.0" }, "dependencies": { diff --git a/theme-vdoing/components/RightMenu.vue b/theme-vdoing/components/RightMenu.vue index bcf6fea..372156b 100644 --- a/theme-vdoing/components/RightMenu.vue +++ b/theme-vdoing/components/RightMenu.vue @@ -3,11 +3,15 @@
- {{item.title}} + {{ item.title }}
@@ -16,27 +20,27 @@