xugaoyi / vuepress-theme-vdoing

🚀一款简洁高效的VuePress知识管理&博客(blog)主题
https://doc.xugaoyi.com
MIT License
4.34k stars 1.12k forks source link

目录栏页,翻页按钮flase 无效。 #534

Closed carveybunt closed 2 years ago

carveybunt commented 2 years ago

image image

还有貌似无法 yarn upgrade 到最新版。 不知道作者大大什么时候有空研究下vitepress的版本。 新版支持转载标记,是否应该也加上转载链接?这样能更好的支持文章原创。

xugaoyi commented 2 years ago

这个翻页按钮按官方的配置上 / 下一篇链接 我一般更新包都是删包重新安装。 vitepress太简洁,满足不了需求,以后应该会升级到vuepress2.0. titleTag只负责显示标记,至于转载链接先手动添加在文章中吧

carveybunt commented 2 years ago

收到,多谢。

carveybunt commented 2 years ago

@xugaoyi 大佬,提个建议,既然都有了原创,能否在新建md文件时,自动生成的内容格式中添加titleTag属性呀。

Dragon1573 commented 2 years ago

还有貌似无法 yarn upgrade 到最新版

@carveybunt 因为我不确定你这个项目是否是直接 Clone 的我那个项目,使用交互式升级 yarn upgrade-interactive 命令是可以正常执行更新的。

版本更新前 ```text C:\Users\Dragon1573\Repos\Study-Notes>yarn info study-notes └─ study-notes@workspace:. ├─ Version: 0.0.0-use.local │ └─ Dependencies ├─ dayjs@npm:^1.10.7 → npm:1.10.7 ├─ inquirer@npm:^8.2.0 → npm:8.2.0 ├─ json2yaml@npm:^1.1.0 → npm:1.1.0 ├─ markdown-it-footnote@npm:^3.0.3 → npm:3.0.3 ├─ markdown-it-mathjax3@npm:^3.1.1 → npm:3.1.1 ├─ rimraf@npm:^3.0.2 → npm:3.0.2 ├─ vuepress-plugin-one-click-copy@npm:^1.0.6 → npm:1.0.6 ├─ vuepress-plugin-zooming@npm:^1.1.8 → npm:1.1.8 ├─ vuepress-theme-vdoing@npm:^1.9.0 → npm:1.9.0 ├─ vuepress@npm:^1.9.5 → npm:1.9.5 ├─ yamljs@npm:^0.3.0 → npm:0.3.0 └─ vuepress-plugin-sitemap@npm:^2.3.1 → npm:2.3.1 [cb833] ```
交互式更新过程 ```text C:\Users\Dragon1573\Repos\Study-Notes>yarn upgrade-interactive Press / to select packages. Press to install. Press / to select versions. Press to abort. ? Pick the packages you want to upgrade. Current Range Latest > vuepress-theme-vdoing ----------------------- ◯ ^1.9.0 ------- ◉ ^1.9.3 ------- ➤ YN0000: ┌ Resolution step ➤ YN0002: │ @vue/babel-plugin-jsx@npm:1.0.7 doesn't provide @babel/core (pa6c52), requested by @babel/plugin-syntax-jsx ➤ YN0002: │ @vuepress/core@npm:1.9.5 doesn't provide @vue/compiler-sfc (p26b20), requested by vue-loader ➤ YN0002: │ study-notes@workspace:. doesn't provide chalk (p75ef5), requested by vuepress-plugin-sitemap ➤ YN0002: │ study-notes@workspace:. doesn't provide commander (p17913), requested by vuepress-plugin-sitemap ➤ YN0002: │ study-notes@workspace:. doesn't provide esm (p844b2), requested by vuepress-plugin-sitemap ➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code ➤ YN0000: └ Completed in 0s 306ms ➤ YN0000: ┌ Fetch step ➤ YN0013: │ vuepress-theme-vdoing@npm:1.9.3 can't be found in the cache and will be fetched from the remote registry ➤ YN0000: └ Completed in 1s 961ms ➤ YN0000: ┌ Link step ➤ YN0076: │ fsevents@patch:fsevents@npm%3A1.2.13#~builtin::version=1.2.13&hash=18f3a7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ esbuild-android-arm64@npm:0.14.7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ esbuild-darwin-64@npm:0.14.7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ esbuild-darwin-arm64@npm:0.14.7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ esbuild-freebsd-64@npm:0.14.7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ esbuild-freebsd-arm64@npm:0.14.7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ esbuild-linux-32@npm:0.14.7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ esbuild-linux-64@npm:0.14.7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ esbuild-linux-arm64@npm:0.14.7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ esbuild-linux-arm@npm:0.14.7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ esbuild-linux-mips64le@npm:0.14.7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ esbuild-linux-ppc64le@npm:0.14.7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ esbuild-netbsd-64@npm:0.14.7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ esbuild-openbsd-64@npm:0.14.7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ esbuild-sunos-64@npm:0.14.7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ esbuild-windows-32@npm:0.14.7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ esbuild-windows-arm64@npm:0.14.7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0076: │ fsevents@patch:fsevents@npm%3A2.3.2#~builtin::version=2.3.2&hash=18f3a7 The win32-x64 architecture is incompatible with this module, link skipped. ➤ YN0000: └ Completed in 1s 745ms ➤ YN0000: Done with warnings in 4s 360ms ```
更新后 ```text C:\Users\Dragon1573\Repos\Study-Notes>yarn info study-notes └─ study-notes@workspace:. ├─ Version: 1.0.0 │ └─ Dependencies ├─ dayjs@npm:^1.10.7 → npm:1.10.7 ├─ inquirer@npm:^8.2.0 → npm:8.2.0 ├─ json2yaml@npm:^1.1.0 → npm:1.1.0 ├─ markdown-it-footnote@npm:^3.0.3 → npm:3.0.3 ├─ markdown-it-mathjax3@npm:^3.1.1 → npm:3.1.1 ├─ rimraf@npm:^3.0.2 → npm:3.0.2 ├─ vuepress-plugin-one-click-copy@npm:^1.0.6 → npm:1.0.6 ├─ vuepress-plugin-zooming@npm:^1.1.8 → npm:1.1.8 ├─ vuepress-theme-vdoing@npm:^1.9.3 → npm:1.9.3 ├─ vuepress@npm:^1.9.5 → npm:1.9.5 ├─ yamljs@npm:^0.3.0 → npm:0.3.0 └─ vuepress-plugin-sitemap@npm:^2.3.1 → npm:2.3.1 [cb833] ```

如果仍无法正常检测到更新,可以考虑将 npmyarn 都更换为 Alibaba 提供的 中国 NPM 镜像