From f4f5e8871031f0d54fd3acb2996b71e6c9eb80be Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Sun, 11 May 2025 16:37:12 +0800 Subject: [PATCH] perf: i18n path in page helpLink --- .../app/home/components/home-sidebar/sidbarConfigList.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/app/home/components/home-sidebar/sidbarConfigList.tsx b/web/src/app/home/components/home-sidebar/sidbarConfigList.tsx index e0eef30d..fb343f55 100644 --- a/web/src/app/home/components/home-sidebar/sidbarConfigList.tsx +++ b/web/src/app/home/components/home-sidebar/sidbarConfigList.tsx @@ -17,7 +17,7 @@ export const sidebarConfigList = [ ), route: '/home/bots', description: '创建和管理机器人,这是 LangBot 与各个平台连接的入口', - helpLink: 'https://docs.langbot.app/deploy/platforms/readme.html', + helpLink: 'https://docs.langbot.app/zh/deploy/platforms/readme.html', }), new SidebarChildVO({ id: 'models', @@ -34,7 +34,7 @@ export const sidebarConfigList = [ ), route: '/home/models', description: '配置和管理可在流水线中使用的模型', - helpLink: 'https://docs.langbot.app/deploy/models/readme.html', + helpLink: 'https://docs.langbot.app/zh/deploy/models/readme.html', }), new SidebarChildVO({ id: 'pipelines', @@ -51,7 +51,7 @@ export const sidebarConfigList = [ ), route: '/home/pipelines', description: '流水线定义了对消息事件的处理流程,用于绑定到机器人', - helpLink: 'https://docs.langbot.app/deploy/pipelines/readme.html', + helpLink: 'https://docs.langbot.app/zh/deploy/pipelines/readme.html', }), new SidebarChildVO({ id: 'plugins', @@ -68,6 +68,6 @@ export const sidebarConfigList = [ ), route: '/home/plugins', description: '安装和配置用于扩展 LangBot 功能的插件', - helpLink: 'https://docs.langbot.app/plugin/plugin-intro.html', + helpLink: 'https://docs.langbot.app/zh/plugin/plugin-intro.html', }), ];