Merge branch 'main' of github.com:ZiuChen/ZiuChen.github.io

This commit is contained in:
ZiuChen 2023-10-12 00:47:02 +08:00
commit 84b5d9861e
2 changed files with 11 additions and 4 deletions

View File

@ -4,11 +4,8 @@ import path from 'path'
export default function generateSideBar() {
const articles = fs.readdirSync(path.resolve(__dirname, '../../article'))
// 排除掉资源文件夹
const folders = ['assets']
const sidebar = articles
.filter((article) => !folders.includes(article))
.filter((article) => article.endsWith('.md'))
.map((article) => {
// 移除后缀 `.md`
const title = article.replace(/\.md$/, '')

View File

@ -6,6 +6,16 @@ aside: false
# 更新日志
## v2.2.2
`2023-09-25`
- feat: 新增快捷键 Ctrl+上下左右 快速切换分类与跳转首个/最末条目
- feat: 分类支持左右快速跳转首个/最末分类
- feat: 支持设置不记录文件内容
- fix: 修正底部提示展示规则
- fix: 执行完自定义操作按钮后自动退出预览抽屉
## v2.2.1
`2023-06-26`