diff --git a/README.md b/README.md index 7a75ba1c9a..1b36a728ca 100644 --- a/README.md +++ b/README.md @@ -68,8 +68,6 @@ 6. 设置成功后,页面会提示访问链接:`https://xxx.github.io/`。此时,你的知识库就已经搭建完成了。 - 如果未出现访问链接提示或不能打开 GitHub Pages,则删除 `docs/_posts` 路径下的博客文章。这是因为 GitHub Pages 有时会对旧文章里的代码报错。 - ## 🔣 配置 LearnData ### 文档结构 diff --git a/docs/.vuepress/navbar.ts b/docs/.vuepress/navbar.ts index 6066ec5d1d..472dbbc3ac 100644 --- a/docs/.vuepress/navbar.ts +++ b/docs/.vuepress/navbar.ts @@ -11,9 +11,9 @@ export default navbar([ children: [ "apps/Applist", { - text: "常用扩展", + text: "开源工具", icon: "chrome", - link: "apps/Chrome", + link: "apps/toolbox", }, { text: "服务/专题", @@ -21,14 +21,9 @@ export default navbar([ prefix: "", children: [ { - text: "直播手册", - icon: "quote", - link: "apps/livestreaming/1_obs_basic", - }, - { - text: "NAS 应用", + text: "专题示例", icon: "process", - link: "services/dockers-on-nas/", + link: "apps/topic/", }, ], }, @@ -38,7 +33,7 @@ export default navbar([ text: "生活", icon: "emmet", prefix: "/family/", - children: ["Diet", "Shoppinglist", "Coupon", "baby/"], + children: ["Diet", "Coupon"], }, { text: "工具", @@ -50,7 +45,7 @@ export default navbar([ link: "https://www.aishort.top/", }, { text: "IMGPrompt", icon: "pic", link: "https://prompt.newzone.top/" }, - { text: "文字处理", icon: "others", link: "https://tools.newzone.top/json-translate" }, + { text: "多语言处理", icon: "others", link: "https://tools.newzone.top/json-translate" }, { text: "工具收藏", icon: "categoryselected", diff --git a/docs/.vuepress/sidebar.ts b/docs/.vuepress/sidebar.ts index f84b4a68cc..87e5bba653 100644 --- a/docs/.vuepress/sidebar.ts +++ b/docs/.vuepress/sidebar.ts @@ -17,98 +17,57 @@ export default sidebar({ children: [ "Applist.md", "toolbox.md", - "Chrome.md", - { - text: "工具笔记", - icon: "plugin", - prefix: "tutorials/", - link: "", - collapsible: true, - children: "structure", - }, - { - text: "直播手册", - icon: "load", - prefix: "livestreaming/", - link: "", - collapsible: true, - children: "structure", - }, { text: "其他", icon: "emmet", collapsible: true, - children: ["design.md", "ChatGPT.md"], + children: ["design.md"], }, ], }, { - text: "🐋 Docker 服务", + text: "🌐 页面开发", icon: "", - prefix: "/services/", + prefix: "/web/", link: "", collapsible: true, children: "structure", }, { - text: "🪟 系统问题", + text: "🏗️ 网站部署", icon: "", - prefix: "/windows/", - link: "", + prefix: "/deploy/", collapsible: true, - children: "structure", + children: [ + "Static.md", + "CloudServices.md", + "VPS.md", + { + text: "部署工具", + icon: "emmet", + collapsible: true, + children: ["GitHub.md", "Cloudflare.md", "MySQL.md", "DNS.md"], + }, + ], }, { text: "🔡 代码编程", icon: "", - prefix: "", - link: "", + prefix: "/code/", collapsible: true, children: [ + "README.md", { - text: "页面开发", - icon: "", - prefix: "/web/", - collapsible: true, - children: "structure", - }, - { - text: "网站部署", - icon: "", - prefix: "/deploy/", + text: "Basic", + icon: "emmet", collapsible: true, - children: [ - "Static.md", - "CloudServices.md", - "VPS.md", - { - text: "部署工具", - icon: "emmet", - collapsible: true, - children: ["GitHub.md", "Cloudflare.md", "MySQL.md", "DNS.md"], - }, - ], + children: ["Markdown.md", "Electron.md", "AutoHotkey.md", "Regex.md"], }, { - text: "代码学习", - icon: "", - prefix: "/code/", + text: "FrondEnd", + icon: "app", collapsible: true, - children: [ - "README.md", - { - text: "Basic", - icon: "emmet", - collapsible: true, - children: ["Markdown.md", "Electron.md", "AutoHotkey.md", "Regex.md"], - }, - { - text: "FrondEnd", - icon: "app", - collapsible: true, - children: ["Vue.md", "HTML.md", "JavaScript.md", "Python.md"], - }, - ], + children: ["Vue.md", "HTML.md", "Javascript.md", "Python.md"], }, ], }, @@ -129,7 +88,6 @@ export default sidebar({ children: "structure", }, ], - // 独立功能区 - "/services/dockers-on-nas/": "structure", - "/family/baby/": "structure", + // 专题区 + "/apps/topic/": "structure", }); diff --git a/docs/.vuepress/templateBuild.html b/docs/.vuepress/templateBuild.html index 03fcbe6aa4..0b2cbd4a1c 100644 --- a/docs/.vuepress/templateBuild.html +++ b/docs/.vuepress/templateBuild.html @@ -31,21 +31,7 @@ - - - +
@@ -53,6 +39,5 @@ -