From 5128b3d487ce49731f99ee750965bfa6c82ec6a8 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Sun, 11 May 2025 10:43:10 +0800 Subject: [PATCH] chore: rename zh-cn to zh --- .gitignore | 3 ++- docs/.vitepress/config.mts | 2 +- docs/{zh-cn => zh}/config/function/command.md | 0 docs/{zh-cn => zh}/config/function/pipeline.md | 0 docs/{zh-cn => zh}/config/function/platform.md | 0 docs/{zh-cn => zh}/config/function/provider.md | 0 docs/{zh-cn => zh}/config/function/system.md | 0 .../config/metadata/adapter-qq-botpy.md | 0 docs/{zh-cn => zh}/config/metadata/llm-models.md | 0 .../config/metadata/sensitive-words.md | 0 docs/{zh-cn => zh}/deploy/langbot/docker.md | 0 docs/{zh-cn => zh}/deploy/langbot/manual.md | 0 docs/{zh-cn => zh}/deploy/langbot/one-click/bt.md | 0 docs/{zh-cn => zh}/deploy/network-details.md | 0 .../deploy/platforms/aiocqhttp/lagrange.md | 0 .../deploy/platforms/aiocqhttp/llonebot.md | 0 .../deploy/platforms/aiocqhttp/napcat.md | 0 .../deploy/platforms/aiocqhttp/shamrock.md | 0 docs/{zh-cn => zh}/deploy/platforms/gocq.md | 0 docs/{zh-cn => zh}/deploy/platforms/mirai.md | 0 docs/{zh-cn => zh}/deploy/platforms/official.md | 0 docs/{zh-cn => zh}/deploy/quick-config/config.md | 0 docs/{zh-cn => zh}/deploy/update.md | 0 docs/{zh-cn => zh}/develop/comp-arch.md | 0 docs/{zh-cn => zh}/index.md | 0 docs/{zh-cn => zh}/insight/community.md | 0 docs/{zh-cn => zh}/insight/guide.md | 0 docs/{zh-cn => zh}/insight/intro.md | 0 docs/{zh-cn => zh}/plugin/dev/api-ref.md | 0 docs/{zh-cn => zh}/plugin/dev/extension.md | 0 docs/{zh-cn => zh}/plugin/dev/messages.md | 0 docs/{zh-cn => zh}/plugin/dev/tutor.md | 0 docs/{zh-cn => zh}/plugin/plugin-intro.md | 0 docs/{zh-cn => zh}/plugin/tech-info.md | 0 docs/{zh-cn => zh}/public/QChatGPT-0516.png | Bin .../public/c12e8803945846f4ea730e249db79574.txt | 0 docs/{zh-cn => zh}/public/chrome-192.png | Bin docs/{zh-cn => zh}/public/chrome-512.png | Bin docs/{zh-cn => zh}/public/favicon.ico | Bin docs/{zh-cn => zh}/public/langbot-logo-0.5x.png | Bin docs/{zh-cn => zh}/public/langbot-logo-block.png | Bin docs/{zh-cn => zh}/public/langbot-logo-final.png | Bin docs/{zh-cn => zh}/public/langbot-logo.png | Bin docs/{zh-cn => zh}/public/social.png | Bin docs/{zh-cn => zh}/tob/contact.md | 0 docs/{zh-cn => zh}/tob/index.md | 0 docs/{zh-cn => zh}/tob/platform.md | 0 docs/{zh-cn => zh}/tob/provider.md | 0 docs/{zh-cn => zh}/usage/command.md | 0 docs/{zh-cn => zh}/usage/faq.md | 0 docs/{zh-cn => zh}/webui/intro.md | 0 docs/{zh-cn => zh}/webui/settings.md | 0 docs/{zh-cn => zh}/webui/system.md | 0 docs/{zh-cn => zh}/workshop/dify-integration.md | 0 docs/{zh-cn => zh}/workshop/dify-service-api.md | 0 .../{zh-cn => zh}/workshop/impl-platform-adapter.md | 0 docs/{zh-cn => zh}/workshop/one-api.md | 0 57 files changed, 3 insertions(+), 2 deletions(-) rename docs/{zh-cn => zh}/config/function/command.md (100%) rename docs/{zh-cn => zh}/config/function/pipeline.md (100%) rename docs/{zh-cn => zh}/config/function/platform.md (100%) rename docs/{zh-cn => zh}/config/function/provider.md (100%) rename docs/{zh-cn => zh}/config/function/system.md (100%) rename docs/{zh-cn => zh}/config/metadata/adapter-qq-botpy.md (100%) rename docs/{zh-cn => zh}/config/metadata/llm-models.md (100%) rename docs/{zh-cn => zh}/config/metadata/sensitive-words.md (100%) rename docs/{zh-cn => zh}/deploy/langbot/docker.md (100%) rename docs/{zh-cn => zh}/deploy/langbot/manual.md (100%) rename docs/{zh-cn => zh}/deploy/langbot/one-click/bt.md (100%) rename docs/{zh-cn => zh}/deploy/network-details.md (100%) rename docs/{zh-cn => zh}/deploy/platforms/aiocqhttp/lagrange.md (100%) rename docs/{zh-cn => zh}/deploy/platforms/aiocqhttp/llonebot.md (100%) rename docs/{zh-cn => zh}/deploy/platforms/aiocqhttp/napcat.md (100%) rename docs/{zh-cn => zh}/deploy/platforms/aiocqhttp/shamrock.md (100%) rename docs/{zh-cn => zh}/deploy/platforms/gocq.md (100%) rename docs/{zh-cn => zh}/deploy/platforms/mirai.md (100%) rename docs/{zh-cn => zh}/deploy/platforms/official.md (100%) rename docs/{zh-cn => zh}/deploy/quick-config/config.md (100%) rename docs/{zh-cn => zh}/deploy/update.md (100%) rename docs/{zh-cn => zh}/develop/comp-arch.md (100%) rename docs/{zh-cn => zh}/index.md (100%) rename docs/{zh-cn => zh}/insight/community.md (100%) rename docs/{zh-cn => zh}/insight/guide.md (100%) rename docs/{zh-cn => zh}/insight/intro.md (100%) rename docs/{zh-cn => zh}/plugin/dev/api-ref.md (100%) rename docs/{zh-cn => zh}/plugin/dev/extension.md (100%) rename docs/{zh-cn => zh}/plugin/dev/messages.md (100%) rename docs/{zh-cn => zh}/plugin/dev/tutor.md (100%) rename docs/{zh-cn => zh}/plugin/plugin-intro.md (100%) rename docs/{zh-cn => zh}/plugin/tech-info.md (100%) rename docs/{zh-cn => zh}/public/QChatGPT-0516.png (100%) rename docs/{zh-cn => zh}/public/c12e8803945846f4ea730e249db79574.txt (100%) rename docs/{zh-cn => zh}/public/chrome-192.png (100%) rename docs/{zh-cn => zh}/public/chrome-512.png (100%) rename docs/{zh-cn => zh}/public/favicon.ico (100%) rename docs/{zh-cn => zh}/public/langbot-logo-0.5x.png (100%) rename docs/{zh-cn => zh}/public/langbot-logo-block.png (100%) rename docs/{zh-cn => zh}/public/langbot-logo-final.png (100%) rename docs/{zh-cn => zh}/public/langbot-logo.png (100%) rename docs/{zh-cn => zh}/public/social.png (100%) rename docs/{zh-cn => zh}/tob/contact.md (100%) rename docs/{zh-cn => zh}/tob/index.md (100%) rename docs/{zh-cn => zh}/tob/platform.md (100%) rename docs/{zh-cn => zh}/tob/provider.md (100%) rename docs/{zh-cn => zh}/usage/command.md (100%) rename docs/{zh-cn => zh}/usage/faq.md (100%) rename docs/{zh-cn => zh}/webui/intro.md (100%) rename docs/{zh-cn => zh}/webui/settings.md (100%) rename docs/{zh-cn => zh}/webui/system.md (100%) rename docs/{zh-cn => zh}/workshop/dify-integration.md (100%) rename docs/{zh-cn => zh}/workshop/dify-service-api.md (100%) rename docs/{zh-cn => zh}/workshop/impl-platform-adapter.md (100%) rename docs/{zh-cn => zh}/workshop/one-api.md (100%) diff --git a/.gitignore b/.gitignore index f13eb9d81..4cc42faac 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules/ docs/.vitepress/cache/ -docs/.vitepress/dist \ No newline at end of file +docs/.vitepress/dist +.DS_Store diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index f33809719..c30a74c16 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -14,7 +14,7 @@ export default defineConfig({ root: { label: "简体中文", lang: "zh", - link: "/zh-cn/", + link: "/zh/", themeConfig: { // https://vitepress.dev/reference/default-theme-config diff --git a/docs/zh-cn/config/function/command.md b/docs/zh/config/function/command.md similarity index 100% rename from docs/zh-cn/config/function/command.md rename to docs/zh/config/function/command.md diff --git a/docs/zh-cn/config/function/pipeline.md b/docs/zh/config/function/pipeline.md similarity index 100% rename from docs/zh-cn/config/function/pipeline.md rename to docs/zh/config/function/pipeline.md diff --git a/docs/zh-cn/config/function/platform.md b/docs/zh/config/function/platform.md similarity index 100% rename from docs/zh-cn/config/function/platform.md rename to docs/zh/config/function/platform.md diff --git a/docs/zh-cn/config/function/provider.md b/docs/zh/config/function/provider.md similarity index 100% rename from docs/zh-cn/config/function/provider.md rename to docs/zh/config/function/provider.md diff --git a/docs/zh-cn/config/function/system.md b/docs/zh/config/function/system.md similarity index 100% rename from docs/zh-cn/config/function/system.md rename to docs/zh/config/function/system.md diff --git a/docs/zh-cn/config/metadata/adapter-qq-botpy.md b/docs/zh/config/metadata/adapter-qq-botpy.md similarity index 100% rename from docs/zh-cn/config/metadata/adapter-qq-botpy.md rename to docs/zh/config/metadata/adapter-qq-botpy.md diff --git a/docs/zh-cn/config/metadata/llm-models.md b/docs/zh/config/metadata/llm-models.md similarity index 100% rename from docs/zh-cn/config/metadata/llm-models.md rename to docs/zh/config/metadata/llm-models.md diff --git a/docs/zh-cn/config/metadata/sensitive-words.md b/docs/zh/config/metadata/sensitive-words.md similarity index 100% rename from docs/zh-cn/config/metadata/sensitive-words.md rename to docs/zh/config/metadata/sensitive-words.md diff --git a/docs/zh-cn/deploy/langbot/docker.md b/docs/zh/deploy/langbot/docker.md similarity index 100% rename from docs/zh-cn/deploy/langbot/docker.md rename to docs/zh/deploy/langbot/docker.md diff --git a/docs/zh-cn/deploy/langbot/manual.md b/docs/zh/deploy/langbot/manual.md similarity index 100% rename from docs/zh-cn/deploy/langbot/manual.md rename to docs/zh/deploy/langbot/manual.md diff --git a/docs/zh-cn/deploy/langbot/one-click/bt.md b/docs/zh/deploy/langbot/one-click/bt.md similarity index 100% rename from docs/zh-cn/deploy/langbot/one-click/bt.md rename to docs/zh/deploy/langbot/one-click/bt.md diff --git a/docs/zh-cn/deploy/network-details.md b/docs/zh/deploy/network-details.md similarity index 100% rename from docs/zh-cn/deploy/network-details.md rename to docs/zh/deploy/network-details.md diff --git a/docs/zh-cn/deploy/platforms/aiocqhttp/lagrange.md b/docs/zh/deploy/platforms/aiocqhttp/lagrange.md similarity index 100% rename from docs/zh-cn/deploy/platforms/aiocqhttp/lagrange.md rename to docs/zh/deploy/platforms/aiocqhttp/lagrange.md diff --git a/docs/zh-cn/deploy/platforms/aiocqhttp/llonebot.md b/docs/zh/deploy/platforms/aiocqhttp/llonebot.md similarity index 100% rename from docs/zh-cn/deploy/platforms/aiocqhttp/llonebot.md rename to docs/zh/deploy/platforms/aiocqhttp/llonebot.md diff --git a/docs/zh-cn/deploy/platforms/aiocqhttp/napcat.md b/docs/zh/deploy/platforms/aiocqhttp/napcat.md similarity index 100% rename from docs/zh-cn/deploy/platforms/aiocqhttp/napcat.md rename to docs/zh/deploy/platforms/aiocqhttp/napcat.md diff --git a/docs/zh-cn/deploy/platforms/aiocqhttp/shamrock.md b/docs/zh/deploy/platforms/aiocqhttp/shamrock.md similarity index 100% rename from docs/zh-cn/deploy/platforms/aiocqhttp/shamrock.md rename to docs/zh/deploy/platforms/aiocqhttp/shamrock.md diff --git a/docs/zh-cn/deploy/platforms/gocq.md b/docs/zh/deploy/platforms/gocq.md similarity index 100% rename from docs/zh-cn/deploy/platforms/gocq.md rename to docs/zh/deploy/platforms/gocq.md diff --git a/docs/zh-cn/deploy/platforms/mirai.md b/docs/zh/deploy/platforms/mirai.md similarity index 100% rename from docs/zh-cn/deploy/platforms/mirai.md rename to docs/zh/deploy/platforms/mirai.md diff --git a/docs/zh-cn/deploy/platforms/official.md b/docs/zh/deploy/platforms/official.md similarity index 100% rename from docs/zh-cn/deploy/platforms/official.md rename to docs/zh/deploy/platforms/official.md diff --git a/docs/zh-cn/deploy/quick-config/config.md b/docs/zh/deploy/quick-config/config.md similarity index 100% rename from docs/zh-cn/deploy/quick-config/config.md rename to docs/zh/deploy/quick-config/config.md diff --git a/docs/zh-cn/deploy/update.md b/docs/zh/deploy/update.md similarity index 100% rename from docs/zh-cn/deploy/update.md rename to docs/zh/deploy/update.md diff --git a/docs/zh-cn/develop/comp-arch.md b/docs/zh/develop/comp-arch.md similarity index 100% rename from docs/zh-cn/develop/comp-arch.md rename to docs/zh/develop/comp-arch.md diff --git a/docs/zh-cn/index.md b/docs/zh/index.md similarity index 100% rename from docs/zh-cn/index.md rename to docs/zh/index.md diff --git a/docs/zh-cn/insight/community.md b/docs/zh/insight/community.md similarity index 100% rename from docs/zh-cn/insight/community.md rename to docs/zh/insight/community.md diff --git a/docs/zh-cn/insight/guide.md b/docs/zh/insight/guide.md similarity index 100% rename from docs/zh-cn/insight/guide.md rename to docs/zh/insight/guide.md diff --git a/docs/zh-cn/insight/intro.md b/docs/zh/insight/intro.md similarity index 100% rename from docs/zh-cn/insight/intro.md rename to docs/zh/insight/intro.md diff --git a/docs/zh-cn/plugin/dev/api-ref.md b/docs/zh/plugin/dev/api-ref.md similarity index 100% rename from docs/zh-cn/plugin/dev/api-ref.md rename to docs/zh/plugin/dev/api-ref.md diff --git a/docs/zh-cn/plugin/dev/extension.md b/docs/zh/plugin/dev/extension.md similarity index 100% rename from docs/zh-cn/plugin/dev/extension.md rename to docs/zh/plugin/dev/extension.md diff --git a/docs/zh-cn/plugin/dev/messages.md b/docs/zh/plugin/dev/messages.md similarity index 100% rename from docs/zh-cn/plugin/dev/messages.md rename to docs/zh/plugin/dev/messages.md diff --git a/docs/zh-cn/plugin/dev/tutor.md b/docs/zh/plugin/dev/tutor.md similarity index 100% rename from docs/zh-cn/plugin/dev/tutor.md rename to docs/zh/plugin/dev/tutor.md diff --git a/docs/zh-cn/plugin/plugin-intro.md b/docs/zh/plugin/plugin-intro.md similarity index 100% rename from docs/zh-cn/plugin/plugin-intro.md rename to docs/zh/plugin/plugin-intro.md diff --git a/docs/zh-cn/plugin/tech-info.md b/docs/zh/plugin/tech-info.md similarity index 100% rename from docs/zh-cn/plugin/tech-info.md rename to docs/zh/plugin/tech-info.md diff --git a/docs/zh-cn/public/QChatGPT-0516.png b/docs/zh/public/QChatGPT-0516.png similarity index 100% rename from docs/zh-cn/public/QChatGPT-0516.png rename to docs/zh/public/QChatGPT-0516.png diff --git a/docs/zh-cn/public/c12e8803945846f4ea730e249db79574.txt b/docs/zh/public/c12e8803945846f4ea730e249db79574.txt similarity index 100% rename from docs/zh-cn/public/c12e8803945846f4ea730e249db79574.txt rename to docs/zh/public/c12e8803945846f4ea730e249db79574.txt diff --git a/docs/zh-cn/public/chrome-192.png b/docs/zh/public/chrome-192.png similarity index 100% rename from docs/zh-cn/public/chrome-192.png rename to docs/zh/public/chrome-192.png diff --git a/docs/zh-cn/public/chrome-512.png b/docs/zh/public/chrome-512.png similarity index 100% rename from docs/zh-cn/public/chrome-512.png rename to docs/zh/public/chrome-512.png diff --git a/docs/zh-cn/public/favicon.ico b/docs/zh/public/favicon.ico similarity index 100% rename from docs/zh-cn/public/favicon.ico rename to docs/zh/public/favicon.ico diff --git a/docs/zh-cn/public/langbot-logo-0.5x.png b/docs/zh/public/langbot-logo-0.5x.png similarity index 100% rename from docs/zh-cn/public/langbot-logo-0.5x.png rename to docs/zh/public/langbot-logo-0.5x.png diff --git a/docs/zh-cn/public/langbot-logo-block.png b/docs/zh/public/langbot-logo-block.png similarity index 100% rename from docs/zh-cn/public/langbot-logo-block.png rename to docs/zh/public/langbot-logo-block.png diff --git a/docs/zh-cn/public/langbot-logo-final.png b/docs/zh/public/langbot-logo-final.png similarity index 100% rename from docs/zh-cn/public/langbot-logo-final.png rename to docs/zh/public/langbot-logo-final.png diff --git a/docs/zh-cn/public/langbot-logo.png b/docs/zh/public/langbot-logo.png similarity index 100% rename from docs/zh-cn/public/langbot-logo.png rename to docs/zh/public/langbot-logo.png diff --git a/docs/zh-cn/public/social.png b/docs/zh/public/social.png similarity index 100% rename from docs/zh-cn/public/social.png rename to docs/zh/public/social.png diff --git a/docs/zh-cn/tob/contact.md b/docs/zh/tob/contact.md similarity index 100% rename from docs/zh-cn/tob/contact.md rename to docs/zh/tob/contact.md diff --git a/docs/zh-cn/tob/index.md b/docs/zh/tob/index.md similarity index 100% rename from docs/zh-cn/tob/index.md rename to docs/zh/tob/index.md diff --git a/docs/zh-cn/tob/platform.md b/docs/zh/tob/platform.md similarity index 100% rename from docs/zh-cn/tob/platform.md rename to docs/zh/tob/platform.md diff --git a/docs/zh-cn/tob/provider.md b/docs/zh/tob/provider.md similarity index 100% rename from docs/zh-cn/tob/provider.md rename to docs/zh/tob/provider.md diff --git a/docs/zh-cn/usage/command.md b/docs/zh/usage/command.md similarity index 100% rename from docs/zh-cn/usage/command.md rename to docs/zh/usage/command.md diff --git a/docs/zh-cn/usage/faq.md b/docs/zh/usage/faq.md similarity index 100% rename from docs/zh-cn/usage/faq.md rename to docs/zh/usage/faq.md diff --git a/docs/zh-cn/webui/intro.md b/docs/zh/webui/intro.md similarity index 100% rename from docs/zh-cn/webui/intro.md rename to docs/zh/webui/intro.md diff --git a/docs/zh-cn/webui/settings.md b/docs/zh/webui/settings.md similarity index 100% rename from docs/zh-cn/webui/settings.md rename to docs/zh/webui/settings.md diff --git a/docs/zh-cn/webui/system.md b/docs/zh/webui/system.md similarity index 100% rename from docs/zh-cn/webui/system.md rename to docs/zh/webui/system.md diff --git a/docs/zh-cn/workshop/dify-integration.md b/docs/zh/workshop/dify-integration.md similarity index 100% rename from docs/zh-cn/workshop/dify-integration.md rename to docs/zh/workshop/dify-integration.md diff --git a/docs/zh-cn/workshop/dify-service-api.md b/docs/zh/workshop/dify-service-api.md similarity index 100% rename from docs/zh-cn/workshop/dify-service-api.md rename to docs/zh/workshop/dify-service-api.md diff --git a/docs/zh-cn/workshop/impl-platform-adapter.md b/docs/zh/workshop/impl-platform-adapter.md similarity index 100% rename from docs/zh-cn/workshop/impl-platform-adapter.md rename to docs/zh/workshop/impl-platform-adapter.md diff --git a/docs/zh-cn/workshop/one-api.md b/docs/zh/workshop/one-api.md similarity index 100% rename from docs/zh-cn/workshop/one-api.md rename to docs/zh/workshop/one-api.md