From 475e31daca8de71600f186788eb28c6b770b98df Mon Sep 17 00:00:00 2001 From: Yutao Hu <1123153758@qq.com> Date: Wed, 6 Aug 2025 15:36:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=BC=E8=88=AA=E6=A0=8F?= =?UTF-8?q?=E6=8A=98=E5=8F=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/theme/constrants/route.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/.vitepress/theme/constrants/route.ts b/docs/.vitepress/theme/constrants/route.ts index 433e6e8..c88fdbd 100644 --- a/docs/.vitepress/theme/constrants/route.ts +++ b/docs/.vitepress/theme/constrants/route.ts @@ -81,7 +81,7 @@ const items_xrobot_platform = [ { text: "设备接入协议", link: Chapters.xrobot_platform, - collapsed: false, + collapsed: true, items: [ { text: "OTA", link: "OTA" }, { text: "websocket", link: "websocket" }, @@ -116,7 +116,7 @@ const items_xrobot_api_server = [ const items_xrobot_api = [ { text: "平台API", - collapsed: false, + collapsed: true, link: Chapters.xrobot_api, items: [ ...items_xrobot_api_server, @@ -128,7 +128,7 @@ const items_xrobot_api = [ const items_xrobot_mcp = [ { text: "MCP接入", - collapsed: false, + collapsed: true, link: Chapters.xrobot_mcp, items: [ // { text: "硬件MCP", link: "hardware-mcp" }, @@ -158,7 +158,7 @@ const items_xrobot_guide_quick_start = [ { text: "快速入门", link: Chapters.xrobot_guide_quick_start, - collapsed: false, + collapsed: true, items: [ ...items_xrobot_platform_net_config, ...[ @@ -222,7 +222,7 @@ const items_xrobot_guide = [ { text: "最佳实践", link: Chapters.xrobot_guide, - collapsed: false, + collapsed: true, items: [ ...items_xrobot_guide_quick_start, ...items_xrobot_guide_xiaozhi_firmware, @@ -237,7 +237,7 @@ const items_xrobot_faq = [ { text: "常见问题", link: Chapters.xrobot_faq, - collapsed: false, + collapsed: true, items: [{ text: "FAQ", link: "faq" }].map((item) => apply_prefix(item, Chapters.xrobot_faq) ),