From 4c840b0d105f20ed50fc04f02b0c6572d78eed04 Mon Sep 17 00:00:00 2001 From: wrj97 Date: Mon, 15 Sep 2025 09:33:17 +0800 Subject: [PATCH] docs: update sidebar links for guide documents MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. Modified the link paths in the sidebar configuration file 2. Changed from "/1.8.x/guide/lessons/*.md" to "/guide/1.8.x/lessons/ *.md" format 3. This adjustment ensures proper document navigation and consistent URL structure 4. The change is necessary to maintain correct document routing after directory reorganization Influence: 1. Verify all sidebar navigation links are working correctly 2. Test document access through sidebar links 3. Confirm URL structure consistency across guide documents 4. Check that all lesson documents are properly accessible docs: 更新侧边栏文档链接 1. 修改了侧边栏配置文件中的链接路径 2. 将链接格式从 "/1.8.x/guide/lessons/*.md" 更改为 "/guide/1.8.x/ lessons/*.md" 3. 此调整确保了正确的文档导航和一致的URL结构 4. 该变更对于目录重组后保持正确的文档路由是必要的 Influence: 1. 验证所有侧边栏导航链接是否正常工作 2. 测试通过侧边栏链接访问文档 3. 确认指南文档间URL结构的一致性 4. 检查所有课程文档是否可正常访问 --- .vitepress/sidebar/share.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.vitepress/sidebar/share.json b/.vitepress/sidebar/share.json index f8796ae..3fe2859 100644 --- a/.vitepress/sidebar/share.json +++ b/.vitepress/sidebar/share.json @@ -6,23 +6,23 @@ "items": [ { "text": "玲珑应用构建工程基础知识", - "link": "/1.8.x/guide/lessons/basic-notes.md" + "link": "/guide/1.8.x/lessons/basic-notes.md" }, { "text": "容器内手动编译应用", - "link": "/1.8.x/guide/lessons/build-in-env.md" + "link": "/guide/1.8.x/lessons/build-in-env.md" }, { "text": "本地源码手动编译应用", - "link": "/1.8.x/guide/lessons/build-offline-src.md" + "link": "/guide/1.8.x/lessons/build-offline-src.md" }, { "text": "使用git&patch编译应用", - "link": "/1.8.x/guide/lessons/build-git-patch.md" + "link": "/guide/1.8.x/lessons/build-git-patch.md" }, { "text": "玲珑应用自动化测试套件", - "link": "/1.8.x/guide/lessons/test-with-toolchains.md" + "link": "/guide/1.8.x/lessons/test-with-toolchains.md" } ] }