Skip to content

Commit

Permalink
feat: upgrade vitepress
Browse files Browse the repository at this point in the history
  • Loading branch information
sunven committed Jun 11, 2024
1 parent 9a49264 commit 4a7aa46
Show file tree
Hide file tree
Showing 4 changed files with 1,410 additions and 1,281 deletions.
1 change: 1 addition & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ nav = fixNavBar(nav, sidebar)
genIndex(sidebar)

export default defineConfig({
metaChunk: true,
//base: '/blog/',
lang: 'zh-CN',
//debug: true,
Expand Down
3 changes: 0 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@

### basics

- [# 前言](/js/basics/a.md)
- [Array](/js/basics/array.md)
- [backbonejs](/js/basics/backbonejs.md)
- [canvas](/js/basics/canvas.md)
Expand Down Expand Up @@ -339,12 +338,10 @@
- [Mac 常用软件](/tool/other/mac-soft.md)
- [Playground](/tool/other/playground.md)
- [Postman](/tool/other/postman.md)
- [Scoop](/tool/other/scoop.md)
- [在 shell 脚本中利用 lftp 做自动部署](/tool/other/shelllftpdeploy.md)
- [ssh](/tool/other/ssh.md)
- [Visual Studio 相关](/tool/other/visualstudio.md)
- [vscode](/tool/other/vscode.md)
- [windows 命令](/tool/other/windowscommand.md)
- [wsl](/tool/other/wsl.md)
- [装机清单](/tool/other/%E8%A3%85%E6%9C%BA%E6%B8%85%E5%8D%95.md)

Expand Down
15 changes: 3 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,7 @@
"docs:serve": "vitepress serve docs"
},
"devDependencies": {
"@types/katex": "^0.14.0",
"@types/markdown-it": "^12.2.3",
"@types/node": "^18.0.4",
"esbuild": "^0.15.10",
"markdown-it-mathjax3": "^4.3.2",
"sass": "^1.53.0",
"vitepress": "^1.0.0-rc.24",
"vue": "^3.3.4"
},
"dependencies": {
"katex": "^0.15.1"
"@types/node": "^20.14.2",
"vitepress": "^1.2.3"
}
}
}
Loading

0 comments on commit 4a7aa46

Please sign in to comment.