From fc98a2e906743104d09f13c14f691f3bddf81f4d Mon Sep 17 00:00:00 2001 From: clh Date: Thu, 12 Dec 2024 17:42:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A7=84=E5=88=92=E6=9C=AA=E6=9D=A5?= =?UTF-8?q?=E4=B8=80=E5=91=A8=E6=96=87=E7=AB=A0=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/config.mts | 2 +- docs/.vitepress/utils.ts | 17 +++++++++-------- docs/back/framework/nest/index.md | 3 +++ docs/back/index.md | 3 --- docs/back/nest.md | 3 --- docs/front/base/browserCore/index.md | 3 +++ docs/front/base/debugger/index.md | 3 +++ docs/front/engi/microFront/index.md | 3 +++ docs/front/engi/monorepo/index.md | 3 +++ docs/front/engi/npmPublish/index.md | 3 +++ .../front/engi => front/engi/rule}/cz.png | Bin docs/front/engi/{rule.md => rule/index.md} | 2 +- docs/front/index.md | 3 --- docs/front/mini/pacakgeSize/index.md | 3 +++ docs/front/mini/packageSize.md | 1 - docs/front/mini/uniapp/index.md | 3 +++ docs/front/waterfall.md | 3 --- docs/index.md | 2 +- docs/others/index.md | 3 --- docs/others/maintain/ng.md | 3 --- docs/others/maintain/ng/index.md | 3 +++ docs/others/operation/{md.md => md/index.md} | 0 22 files changed, 39 insertions(+), 30 deletions(-) create mode 100644 docs/back/framework/nest/index.md delete mode 100644 docs/back/index.md delete mode 100644 docs/back/nest.md create mode 100644 docs/front/base/browserCore/index.md create mode 100644 docs/front/base/debugger/index.md create mode 100644 docs/front/engi/microFront/index.md create mode 100644 docs/front/engi/monorepo/index.md create mode 100644 docs/front/engi/npmPublish/index.md rename docs/{public/front/engi => front/engi/rule}/cz.png (100%) rename docs/front/engi/{rule.md => rule/index.md} (99%) delete mode 100644 docs/front/index.md create mode 100644 docs/front/mini/pacakgeSize/index.md delete mode 100644 docs/front/mini/packageSize.md create mode 100644 docs/front/mini/uniapp/index.md delete mode 100644 docs/front/waterfall.md delete mode 100644 docs/others/index.md delete mode 100644 docs/others/maintain/ng.md create mode 100644 docs/others/maintain/ng/index.md rename docs/others/operation/{md.md => md/index.md} (100%) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 31aca61..158e02c 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -23,7 +23,7 @@ export default defineConfig({ nav: [ { text: "Home", link: "/" }, { text: "Front-end", link: "/front/engi/rule", activeMatch: "/front/" }, - { text: "Back-end", link: "/back/index", activeMatch: "/back/" }, + { text: "Back-end", link: "/back/framework/nest", activeMatch: "/back/" }, { text: "Others", link: "/others/operation/md", activeMatch: "/others/" }, ], search: { diff --git a/docs/.vitepress/utils.ts b/docs/.vitepress/utils.ts index 590572e..982db6e 100644 --- a/docs/.vitepress/utils.ts +++ b/docs/.vitepress/utils.ts @@ -18,7 +18,11 @@ export default { }, { text: "微前端架构浅析", - link: "/front/engi/micro-front", + link: "/front/engi/microFront", + }, + { + text: "Npm发包流程", + link: "/front/engi/npmPublish", }, ], }, @@ -31,7 +35,7 @@ export default { }, { text: "浏览器工作原理", - link: "front/base/browser", + link: "front/base/browserCore", }, ], }, @@ -63,17 +67,14 @@ export default { text: "back", items: [ { - text: "Framework", + text: "后端框架", items: [ { - text: "Nest.js", - link: "/back/nest", + text: "Nest", + link: "/back/framework/nest", }, ], }, - { - text: "常用数据库浅析", - }, ], }, { diff --git a/docs/back/framework/nest/index.md b/docs/back/framework/nest/index.md new file mode 100644 index 0000000..2723ac1 --- /dev/null +++ b/docs/back/framework/nest/index.md @@ -0,0 +1,3 @@ +# 从 0 到 1 使用 nest 框架搭建后台服务 + +敬请期待 diff --git a/docs/back/index.md b/docs/back/index.md deleted file mode 100644 index 3a56410..0000000 --- a/docs/back/index.md +++ /dev/null @@ -1,3 +0,0 @@ -# - -后端首页 diff --git a/docs/back/nest.md b/docs/back/nest.md deleted file mode 100644 index 892cb6d..0000000 --- a/docs/back/nest.md +++ /dev/null @@ -1,3 +0,0 @@ -# - -nest.js diff --git a/docs/front/base/browserCore/index.md b/docs/front/base/browserCore/index.md new file mode 100644 index 0000000..fd73baa --- /dev/null +++ b/docs/front/base/browserCore/index.md @@ -0,0 +1,3 @@ +# 浏览器工作原理与实践 + +敬请期待 diff --git a/docs/front/base/debugger/index.md b/docs/front/base/debugger/index.md new file mode 100644 index 0000000..b4d6169 --- /dev/null +++ b/docs/front/base/debugger/index.md @@ -0,0 +1,3 @@ +# 前端常用 debugger 技巧 + +敬请期待 diff --git a/docs/front/engi/microFront/index.md b/docs/front/engi/microFront/index.md new file mode 100644 index 0000000..fc1be51 --- /dev/null +++ b/docs/front/engi/microFront/index.md @@ -0,0 +1,3 @@ +# 浅析微前端常见方案 + +敬请期待 diff --git a/docs/front/engi/monorepo/index.md b/docs/front/engi/monorepo/index.md new file mode 100644 index 0000000..37bbe68 --- /dev/null +++ b/docs/front/engi/monorepo/index.md @@ -0,0 +1,3 @@ +# Monorepo 理论与实践 + +敬请期待 diff --git a/docs/front/engi/npmPublish/index.md b/docs/front/engi/npmPublish/index.md new file mode 100644 index 0000000..b8bd32a --- /dev/null +++ b/docs/front/engi/npmPublish/index.md @@ -0,0 +1,3 @@ +# Npm 发包流程实践 + +敬请期待 diff --git a/docs/public/front/engi/cz.png b/docs/front/engi/rule/cz.png similarity index 100% rename from docs/public/front/engi/cz.png rename to docs/front/engi/rule/cz.png diff --git a/docs/front/engi/rule.md b/docs/front/engi/rule/index.md similarity index 99% rename from docs/front/engi/rule.md rename to docs/front/engi/rule/index.md index e1f2cd4..624f77c 100644 --- a/docs/front/engi/rule.md +++ b/docs/front/engi/rule/index.md @@ -406,4 +406,4 @@ module.exports = { ``` 至此配置完成,后续提交代码使用 git cz 命令即可进行可视化提交,具体效果如下 - ![alt text](/front/engi/cz.png) + ![alt text](/cz.png) diff --git a/docs/front/index.md b/docs/front/index.md deleted file mode 100644 index 9f03bcc..0000000 --- a/docs/front/index.md +++ /dev/null @@ -1,3 +0,0 @@ -# - -前端首页 diff --git a/docs/front/mini/pacakgeSize/index.md b/docs/front/mini/pacakgeSize/index.md new file mode 100644 index 0000000..7432ec1 --- /dev/null +++ b/docs/front/mini/pacakgeSize/index.md @@ -0,0 +1,3 @@ +# 小程序包体积优化 + +敬请期待 diff --git a/docs/front/mini/packageSize.md b/docs/front/mini/packageSize.md deleted file mode 100644 index 7c4fceb..0000000 --- a/docs/front/mini/packageSize.md +++ /dev/null @@ -1 +0,0 @@ -# 包体积优化 diff --git a/docs/front/mini/uniapp/index.md b/docs/front/mini/uniapp/index.md new file mode 100644 index 0000000..f830d30 --- /dev/null +++ b/docs/front/mini/uniapp/index.md @@ -0,0 +1,3 @@ +# Uniapp 跨端开发踩坑合集 + +敬请期待 diff --git a/docs/front/waterfall.md b/docs/front/waterfall.md deleted file mode 100644 index 1b26daa..0000000 --- a/docs/front/waterfall.md +++ /dev/null @@ -1,3 +0,0 @@ -# - -瀑布流 diff --git a/docs/index.md b/docs/index.md index 48c991a..6e01400 100644 --- a/docs/index.md +++ b/docs/index.md @@ -22,7 +22,7 @@ features: - title: Back End icon: src: /home/back-end-icon.svg - link: /back/index + link: /back/framework/nest details: Back-end framework applications such as express and nest.js, as well as the operation of common data such as mysql and mongodb - title: Others icon: diff --git a/docs/others/index.md b/docs/others/index.md deleted file mode 100644 index 7ecd54c..0000000 --- a/docs/others/index.md +++ /dev/null @@ -1,3 +0,0 @@ -# - -其它 diff --git a/docs/others/maintain/ng.md b/docs/others/maintain/ng.md deleted file mode 100644 index ce19a70..0000000 --- a/docs/others/maintain/ng.md +++ /dev/null @@ -1,3 +0,0 @@ -# - -nginx diff --git a/docs/others/maintain/ng/index.md b/docs/others/maintain/ng/index.md new file mode 100644 index 0000000..1ef6585 --- /dev/null +++ b/docs/others/maintain/ng/index.md @@ -0,0 +1,3 @@ +# Nginx 理论与实践 + +敬请期待 diff --git a/docs/others/operation/md.md b/docs/others/operation/md/index.md similarity index 100% rename from docs/others/operation/md.md rename to docs/others/operation/md/index.md