From 311546a2fcb75f751a80f6d0a7bcaf5524fb95a2 Mon Sep 17 00:00:00 2001 From: sanbuphy Date: Thu, 26 Feb 2026 04:42:28 +0800 Subject: [PATCH] fix: replace all /en-us/ paths with /en/ for locale consistency --- docs/en/appendix/index.md | 58 +++++++++++++++++++-------------------- docs/index.md | 6 ++-- docs/public/robots.txt | 6 ++-- 3 files changed, 35 insertions(+), 35 deletions(-) diff --git a/docs/en/appendix/index.md b/docs/en/appendix/index.md index a6856c8..78598d4 100644 --- a/docs/en/appendix/index.md +++ b/docs/en/appendix/index.md @@ -9,47 +9,47 @@ Welcome to the **Appendix** section! This is a collection of artificial intellig Understand the core concepts, development history, and cutting-edge technical principles of artificial intelligence: @@ -61,32 +61,32 @@ Understand the core concepts, development history, and cutting-edge technical pr Solidify the technical foundation of frontend development: @@ -98,42 +98,42 @@ Solidify the technical foundation of frontend development: Master the core concepts of backend development: @@ -145,32 +145,32 @@ Master the core concepts of backend development: Basic knowledge of software development: diff --git a/docs/index.md b/docs/index.md index 57a32cd..8ad8b76 100644 --- a/docs/index.md +++ b/docs/index.md @@ -13,9 +13,9 @@ onMounted(() => { 'zh-cn': '/zh-cn/', 'zh-tw': '/zh-tw/', 'zh-hk': '/zh-tw/', - 'en': '/en-us/', - 'en-us': '/en-us/', - 'en-gb': '/en-us/', + 'en': '/en/', + 'en-us': '/en/', + 'en-gb': '/en/', 'ja': '/ja-jp/', 'ja-jp': '/ja-jp/', 'ko': '/ko-kr/', diff --git a/docs/public/robots.txt b/docs/public/robots.txt index 09384bf..bb19b30 100644 --- a/docs/public/robots.txt +++ b/docs/public/robots.txt @@ -6,9 +6,9 @@ Allow: / Disallow: /zh-cn/extra/ Disallow: /zh-cn/examples/ Disallow: /zh-cn/project/ -Disallow: /en-us/extra/ -Disallow: /en-us/examples/ -Disallow: /en-us/project/ +Disallow: /en/extra/ +Disallow: /en/examples/ +Disallow: /en/project/ # 禁止抓取 VitePress 缓存和构建文件 Disallow: /.vitepress/