From 7efcd242d6dc1c83eb8ecfc4f037a3b9358add11 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Wed, 11 Mar 2026 17:42:39 +0800 Subject: [PATCH] fix(docs): update edit link patterns and remove obsolete repository reference --- docs/.vitepress/config.mjs | 4 ++-- docs/en/community.md | 2 -- docs/zh/community.md | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/.vitepress/config.mjs b/docs/.vitepress/config.mjs index 2d4895048..aad7a7027 100644 --- a/docs/.vitepress/config.mjs +++ b/docs/.vitepress/config.mjs @@ -245,7 +245,7 @@ export default defineConfig({ next: '下一篇' }, editLink: { - pattern: 'https://github.com/AstrBotdevs/AstrBot-docs/edit/v4/:path', + pattern: 'https://github.com/AstrBotdevs/AstrBot/edit/master/docs/:path', text: '发现文档有问题?在 GitHub 上编辑此页', }, logo: '/logo_prod.png', @@ -484,7 +484,7 @@ export default defineConfig({ next: 'Next' }, editLink: { - pattern: 'https://github.com/AstrBotdevs/AstrBot-docs/edit/v4/:path', + pattern: 'https://github.com/AstrBotdevs/AstrBot/edit/master/docs/:path', text: 'Edit this page on GitHub', }, logo: '/logo_prod.png', diff --git a/docs/en/community.md b/docs/en/community.md index 116fa882d..b453d4cc1 100644 --- a/docs/en/community.md +++ b/docs/en/community.md @@ -14,8 +14,6 @@ Welcome to submit Issues or Pull Requests: - [AstrBotDevs/AstrBot](https://github.com/AstrBotDevs/AstrBot) -- [AstrBotDevs/AstrBot-Docs](https://github.com/AstrBotDevs/AstrBot-docs) - ### Tencent QQ Groups > - All groups are available to join. If you find that the group size is below the limit, please feel free to join. diff --git a/docs/zh/community.md b/docs/zh/community.md index 72d4504fc..c8a7da71a 100644 --- a/docs/zh/community.md +++ b/docs/zh/community.md @@ -29,8 +29,6 @@ https://discord.gg/PxgzhmxJ - [AstrBotDevs/AstrBot](https://github.com/AstrBotDevs/AstrBot) -- [AstrBotDevs/AstrBot-Docs](https://github.com/AstrBotDevs/AstrBot-docs) - ## 成为 AstrBot 组织成员 欢迎加入我们!