diff --git a/.github/workflows/docs-deploy-vercel.yml b/.github/workflows/docs-deploy-vercel.yml index cb65363c5..1edf81fa7 100644 --- a/.github/workflows/docs-deploy-vercel.yml +++ b/.github/workflows/docs-deploy-vercel.yml @@ -47,7 +47,7 @@ jobs: - name: Add cdn for images run: | - sed -i "s#\](/imgs/#\](https://cdn.jsdelivr.net/gh/yangchuansheng/fastgpt-imgs@main/imgs/#g" $(grep -rl "\](/imgs/" docSite/content/docs) + sed -i "s#\](/imgs/#\](https://cdn.jsdelivr.net/gh/yangchuansheng/fastgpt-imgs@main/imgs/#g" $(grep -rl "\](/imgs/" docSite/content/zh-cn/docs) # Step 3 - Install Hugo (specific version) - name: Install Hugo diff --git a/.github/workflows/docs-preview.yml b/.github/workflows/docs-preview.yml index abdc7037b..c4c0a28e2 100644 --- a/.github/workflows/docs-preview.yml +++ b/.github/workflows/docs-preview.yml @@ -47,7 +47,7 @@ jobs: - name: Add cdn for images run: | - sed -i "s#\](/imgs/#\](https://cdn.jsdelivr.net/gh/yangchuansheng/fastgpt-imgs@main/imgs/#g" $(grep -rl "\](/imgs/" docSite/content/docs) + sed -i "s#\](/imgs/#\](https://cdn.jsdelivr.net/gh/yangchuansheng/fastgpt-imgs@main/imgs/#g" $(grep -rl "\](/imgs/" docSite/content/zh-cn/docs) # Step 3 - Install Hugo (specific version) - name: Install Hugo diff --git a/docSite/content/docs/_index.md b/docSite/content/zh-cn/docs/_index.md similarity index 100% rename from docSite/content/docs/_index.md rename to docSite/content/zh-cn/docs/_index.md diff --git a/docSite/content/docs/agreement/_index.md b/docSite/content/zh-cn/docs/agreement/_index.md similarity index 100% rename from docSite/content/docs/agreement/_index.md rename to docSite/content/zh-cn/docs/agreement/_index.md diff --git a/docSite/content/docs/agreement/open-source.md b/docSite/content/zh-cn/docs/agreement/open-source.md similarity index 100% rename from docSite/content/docs/agreement/open-source.md rename to docSite/content/zh-cn/docs/agreement/open-source.md diff --git a/docSite/content/docs/agreement/privacy.md b/docSite/content/zh-cn/docs/agreement/privacy.md similarity index 100% rename from docSite/content/docs/agreement/privacy.md rename to docSite/content/zh-cn/docs/agreement/privacy.md diff --git a/docSite/content/docs/agreement/terms.md b/docSite/content/zh-cn/docs/agreement/terms.md similarity index 100% rename from docSite/content/docs/agreement/terms.md rename to docSite/content/zh-cn/docs/agreement/terms.md diff --git a/docSite/content/docs/commercial/_index.md b/docSite/content/zh-cn/docs/commercial/_index.md similarity index 100% rename from docSite/content/docs/commercial/_index.md rename to docSite/content/zh-cn/docs/commercial/_index.md diff --git a/docSite/content/docs/commercial/intro.md b/docSite/content/zh-cn/docs/commercial/intro.md similarity index 100% rename from docSite/content/docs/commercial/intro.md rename to docSite/content/zh-cn/docs/commercial/intro.md diff --git a/docSite/content/docs/community.md b/docSite/content/zh-cn/docs/community.md similarity index 100% rename from docSite/content/docs/community.md rename to docSite/content/zh-cn/docs/community.md diff --git a/docSite/content/docs/course/_index.md b/docSite/content/zh-cn/docs/course/_index.md similarity index 100% rename from docSite/content/docs/course/_index.md rename to docSite/content/zh-cn/docs/course/_index.md diff --git a/docSite/content/docs/course/ai_settings.md b/docSite/content/zh-cn/docs/course/ai_settings.md similarity index 100% rename from docSite/content/docs/course/ai_settings.md rename to docSite/content/zh-cn/docs/course/ai_settings.md diff --git a/docSite/content/docs/course/chat_input_guide.md b/docSite/content/zh-cn/docs/course/chat_input_guide.md similarity index 100% rename from docSite/content/docs/course/chat_input_guide.md rename to docSite/content/zh-cn/docs/course/chat_input_guide.md diff --git a/docSite/content/docs/course/dataset_engine.md b/docSite/content/zh-cn/docs/course/dataset_engine.md similarity index 100% rename from docSite/content/docs/course/dataset_engine.md rename to docSite/content/zh-cn/docs/course/dataset_engine.md diff --git a/docSite/content/docs/course/externalFile.md b/docSite/content/zh-cn/docs/course/externalFile.md similarity index 100% rename from docSite/content/docs/course/externalFile.md rename to docSite/content/zh-cn/docs/course/externalFile.md diff --git a/docSite/content/docs/course/kb.md b/docSite/content/zh-cn/docs/course/kb.md similarity index 100% rename from docSite/content/docs/course/kb.md rename to docSite/content/zh-cn/docs/course/kb.md diff --git a/docSite/content/docs/course/quick-start.md b/docSite/content/zh-cn/docs/course/quick-start.md similarity index 100% rename from docSite/content/docs/course/quick-start.md rename to docSite/content/zh-cn/docs/course/quick-start.md diff --git a/docSite/content/docs/course/websync.md b/docSite/content/zh-cn/docs/course/websync.md similarity index 100% rename from docSite/content/docs/course/websync.md rename to docSite/content/zh-cn/docs/course/websync.md diff --git a/docSite/content/docs/development/_index.md b/docSite/content/zh-cn/docs/development/_index.md similarity index 100% rename from docSite/content/docs/development/_index.md rename to docSite/content/zh-cn/docs/development/_index.md diff --git a/docSite/content/docs/development/configuration.md b/docSite/content/zh-cn/docs/development/configuration.md similarity index 100% rename from docSite/content/docs/development/configuration.md rename to docSite/content/zh-cn/docs/development/configuration.md diff --git a/docSite/content/docs/development/custom-models/_index.md b/docSite/content/zh-cn/docs/development/custom-models/_index.md similarity index 100% rename from docSite/content/docs/development/custom-models/_index.md rename to docSite/content/zh-cn/docs/development/custom-models/_index.md diff --git a/docSite/content/docs/development/custom-models/bge-rerank.md b/docSite/content/zh-cn/docs/development/custom-models/bge-rerank.md similarity index 100% rename from docSite/content/docs/development/custom-models/bge-rerank.md rename to docSite/content/zh-cn/docs/development/custom-models/bge-rerank.md diff --git a/docSite/content/docs/development/custom-models/chatglm2-m3e.md b/docSite/content/zh-cn/docs/development/custom-models/chatglm2-m3e.md similarity index 100% rename from docSite/content/docs/development/custom-models/chatglm2-m3e.md rename to docSite/content/zh-cn/docs/development/custom-models/chatglm2-m3e.md diff --git a/docSite/content/docs/development/custom-models/chatglm2.md b/docSite/content/zh-cn/docs/development/custom-models/chatglm2.md similarity index 100% rename from docSite/content/docs/development/custom-models/chatglm2.md rename to docSite/content/zh-cn/docs/development/custom-models/chatglm2.md diff --git a/docSite/content/docs/development/custom-models/m3e.md b/docSite/content/zh-cn/docs/development/custom-models/m3e.md similarity index 100% rename from docSite/content/docs/development/custom-models/m3e.md rename to docSite/content/zh-cn/docs/development/custom-models/m3e.md diff --git a/docSite/content/docs/development/custom-models/xinference.md b/docSite/content/zh-cn/docs/development/custom-models/xinference.md similarity index 100% rename from docSite/content/docs/development/custom-models/xinference.md rename to docSite/content/zh-cn/docs/development/custom-models/xinference.md diff --git a/docSite/content/docs/development/design/_index.md b/docSite/content/zh-cn/docs/development/design/_index.md similarity index 100% rename from docSite/content/docs/development/design/_index.md rename to docSite/content/zh-cn/docs/development/design/_index.md diff --git a/docSite/content/docs/development/design/dataset.md b/docSite/content/zh-cn/docs/development/design/dataset.md similarity index 100% rename from docSite/content/docs/development/design/dataset.md rename to docSite/content/zh-cn/docs/development/design/dataset.md diff --git a/docSite/content/docs/development/docker.md b/docSite/content/zh-cn/docs/development/docker.md similarity index 100% rename from docSite/content/docs/development/docker.md rename to docSite/content/zh-cn/docs/development/docker.md diff --git a/docSite/content/docs/development/faq.md b/docSite/content/zh-cn/docs/development/faq.md similarity index 100% rename from docSite/content/docs/development/faq.md rename to docSite/content/zh-cn/docs/development/faq.md diff --git a/docSite/content/docs/development/intro.md b/docSite/content/zh-cn/docs/development/intro.md similarity index 100% rename from docSite/content/docs/development/intro.md rename to docSite/content/zh-cn/docs/development/intro.md diff --git a/docSite/content/docs/development/migration/ docker_mongo.md b/docSite/content/zh-cn/docs/development/migration/ docker_mongo.md similarity index 100% rename from docSite/content/docs/development/migration/ docker_mongo.md rename to docSite/content/zh-cn/docs/development/migration/ docker_mongo.md diff --git a/docSite/content/docs/development/migration/_index.md b/docSite/content/zh-cn/docs/development/migration/_index.md similarity index 100% rename from docSite/content/docs/development/migration/_index.md rename to docSite/content/zh-cn/docs/development/migration/_index.md diff --git a/docSite/content/docs/development/migration/docker_db.md b/docSite/content/zh-cn/docs/development/migration/docker_db.md similarity index 100% rename from docSite/content/docs/development/migration/docker_db.md rename to docSite/content/zh-cn/docs/development/migration/docker_db.md diff --git a/docSite/content/docs/development/one-api.md b/docSite/content/zh-cn/docs/development/one-api.md similarity index 100% rename from docSite/content/docs/development/one-api.md rename to docSite/content/zh-cn/docs/development/one-api.md diff --git a/docSite/content/docs/development/openapi/_index.md b/docSite/content/zh-cn/docs/development/openapi/_index.md similarity index 100% rename from docSite/content/docs/development/openapi/_index.md rename to docSite/content/zh-cn/docs/development/openapi/_index.md diff --git a/docSite/content/docs/development/openapi/auth.md b/docSite/content/zh-cn/docs/development/openapi/auth.md similarity index 100% rename from docSite/content/docs/development/openapi/auth.md rename to docSite/content/zh-cn/docs/development/openapi/auth.md diff --git a/docSite/content/docs/development/openapi/chat.md b/docSite/content/zh-cn/docs/development/openapi/chat.md similarity index 100% rename from docSite/content/docs/development/openapi/chat.md rename to docSite/content/zh-cn/docs/development/openapi/chat.md diff --git a/docSite/content/docs/development/openapi/dataset.md b/docSite/content/zh-cn/docs/development/openapi/dataset.md similarity index 100% rename from docSite/content/docs/development/openapi/dataset.md rename to docSite/content/zh-cn/docs/development/openapi/dataset.md diff --git a/docSite/content/docs/development/openapi/share.md b/docSite/content/zh-cn/docs/development/openapi/share.md similarity index 100% rename from docSite/content/docs/development/openapi/share.md rename to docSite/content/zh-cn/docs/development/openapi/share.md diff --git a/docSite/content/docs/development/proxy/_index.md b/docSite/content/zh-cn/docs/development/proxy/_index.md similarity index 100% rename from docSite/content/docs/development/proxy/_index.md rename to docSite/content/zh-cn/docs/development/proxy/_index.md diff --git a/docSite/content/docs/development/proxy/cloudflare.md b/docSite/content/zh-cn/docs/development/proxy/cloudflare.md similarity index 100% rename from docSite/content/docs/development/proxy/cloudflare.md rename to docSite/content/zh-cn/docs/development/proxy/cloudflare.md diff --git a/docSite/content/docs/development/proxy/http_proxy.md b/docSite/content/zh-cn/docs/development/proxy/http_proxy.md similarity index 100% rename from docSite/content/docs/development/proxy/http_proxy.md rename to docSite/content/zh-cn/docs/development/proxy/http_proxy.md diff --git a/docSite/content/docs/development/proxy/nginx.md b/docSite/content/zh-cn/docs/development/proxy/nginx.md similarity index 100% rename from docSite/content/docs/development/proxy/nginx.md rename to docSite/content/zh-cn/docs/development/proxy/nginx.md diff --git a/docSite/content/docs/development/sealos.md b/docSite/content/zh-cn/docs/development/sealos.md similarity index 100% rename from docSite/content/docs/development/sealos.md rename to docSite/content/zh-cn/docs/development/sealos.md diff --git a/docSite/content/docs/development/upgrading/40.md b/docSite/content/zh-cn/docs/development/upgrading/40.md similarity index 100% rename from docSite/content/docs/development/upgrading/40.md rename to docSite/content/zh-cn/docs/development/upgrading/40.md diff --git a/docSite/content/docs/development/upgrading/41.md b/docSite/content/zh-cn/docs/development/upgrading/41.md similarity index 100% rename from docSite/content/docs/development/upgrading/41.md rename to docSite/content/zh-cn/docs/development/upgrading/41.md diff --git a/docSite/content/docs/development/upgrading/42.md b/docSite/content/zh-cn/docs/development/upgrading/42.md similarity index 100% rename from docSite/content/docs/development/upgrading/42.md rename to docSite/content/zh-cn/docs/development/upgrading/42.md diff --git a/docSite/content/docs/development/upgrading/421.md b/docSite/content/zh-cn/docs/development/upgrading/421.md similarity index 100% rename from docSite/content/docs/development/upgrading/421.md rename to docSite/content/zh-cn/docs/development/upgrading/421.md diff --git a/docSite/content/docs/development/upgrading/43.md b/docSite/content/zh-cn/docs/development/upgrading/43.md similarity index 100% rename from docSite/content/docs/development/upgrading/43.md rename to docSite/content/zh-cn/docs/development/upgrading/43.md diff --git a/docSite/content/docs/development/upgrading/44.md b/docSite/content/zh-cn/docs/development/upgrading/44.md similarity index 100% rename from docSite/content/docs/development/upgrading/44.md rename to docSite/content/zh-cn/docs/development/upgrading/44.md diff --git a/docSite/content/docs/development/upgrading/441.md b/docSite/content/zh-cn/docs/development/upgrading/441.md similarity index 100% rename from docSite/content/docs/development/upgrading/441.md rename to docSite/content/zh-cn/docs/development/upgrading/441.md diff --git a/docSite/content/docs/development/upgrading/442.md b/docSite/content/zh-cn/docs/development/upgrading/442.md similarity index 100% rename from docSite/content/docs/development/upgrading/442.md rename to docSite/content/zh-cn/docs/development/upgrading/442.md diff --git a/docSite/content/docs/development/upgrading/445.md b/docSite/content/zh-cn/docs/development/upgrading/445.md similarity index 100% rename from docSite/content/docs/development/upgrading/445.md rename to docSite/content/zh-cn/docs/development/upgrading/445.md diff --git a/docSite/content/docs/development/upgrading/446.md b/docSite/content/zh-cn/docs/development/upgrading/446.md similarity index 100% rename from docSite/content/docs/development/upgrading/446.md rename to docSite/content/zh-cn/docs/development/upgrading/446.md diff --git a/docSite/content/docs/development/upgrading/447.md b/docSite/content/zh-cn/docs/development/upgrading/447.md similarity index 100% rename from docSite/content/docs/development/upgrading/447.md rename to docSite/content/zh-cn/docs/development/upgrading/447.md diff --git a/docSite/content/docs/development/upgrading/45.md b/docSite/content/zh-cn/docs/development/upgrading/45.md similarity index 100% rename from docSite/content/docs/development/upgrading/45.md rename to docSite/content/zh-cn/docs/development/upgrading/45.md diff --git a/docSite/content/docs/development/upgrading/451.md b/docSite/content/zh-cn/docs/development/upgrading/451.md similarity index 100% rename from docSite/content/docs/development/upgrading/451.md rename to docSite/content/zh-cn/docs/development/upgrading/451.md diff --git a/docSite/content/docs/development/upgrading/452.md b/docSite/content/zh-cn/docs/development/upgrading/452.md similarity index 100% rename from docSite/content/docs/development/upgrading/452.md rename to docSite/content/zh-cn/docs/development/upgrading/452.md diff --git a/docSite/content/docs/development/upgrading/46.md b/docSite/content/zh-cn/docs/development/upgrading/46.md similarity index 100% rename from docSite/content/docs/development/upgrading/46.md rename to docSite/content/zh-cn/docs/development/upgrading/46.md diff --git a/docSite/content/docs/development/upgrading/461.md b/docSite/content/zh-cn/docs/development/upgrading/461.md similarity index 100% rename from docSite/content/docs/development/upgrading/461.md rename to docSite/content/zh-cn/docs/development/upgrading/461.md diff --git a/docSite/content/docs/development/upgrading/462.md b/docSite/content/zh-cn/docs/development/upgrading/462.md similarity index 100% rename from docSite/content/docs/development/upgrading/462.md rename to docSite/content/zh-cn/docs/development/upgrading/462.md diff --git a/docSite/content/docs/development/upgrading/463.md b/docSite/content/zh-cn/docs/development/upgrading/463.md similarity index 100% rename from docSite/content/docs/development/upgrading/463.md rename to docSite/content/zh-cn/docs/development/upgrading/463.md diff --git a/docSite/content/docs/development/upgrading/464.md b/docSite/content/zh-cn/docs/development/upgrading/464.md similarity index 100% rename from docSite/content/docs/development/upgrading/464.md rename to docSite/content/zh-cn/docs/development/upgrading/464.md diff --git a/docSite/content/docs/development/upgrading/465.md b/docSite/content/zh-cn/docs/development/upgrading/465.md similarity index 100% rename from docSite/content/docs/development/upgrading/465.md rename to docSite/content/zh-cn/docs/development/upgrading/465.md diff --git a/docSite/content/docs/development/upgrading/466.md b/docSite/content/zh-cn/docs/development/upgrading/466.md similarity index 100% rename from docSite/content/docs/development/upgrading/466.md rename to docSite/content/zh-cn/docs/development/upgrading/466.md diff --git a/docSite/content/docs/development/upgrading/467.md b/docSite/content/zh-cn/docs/development/upgrading/467.md similarity index 100% rename from docSite/content/docs/development/upgrading/467.md rename to docSite/content/zh-cn/docs/development/upgrading/467.md diff --git a/docSite/content/docs/development/upgrading/468.md b/docSite/content/zh-cn/docs/development/upgrading/468.md similarity index 100% rename from docSite/content/docs/development/upgrading/468.md rename to docSite/content/zh-cn/docs/development/upgrading/468.md diff --git a/docSite/content/docs/development/upgrading/469.md b/docSite/content/zh-cn/docs/development/upgrading/469.md similarity index 100% rename from docSite/content/docs/development/upgrading/469.md rename to docSite/content/zh-cn/docs/development/upgrading/469.md diff --git a/docSite/content/docs/development/upgrading/47.md b/docSite/content/zh-cn/docs/development/upgrading/47.md similarity index 100% rename from docSite/content/docs/development/upgrading/47.md rename to docSite/content/zh-cn/docs/development/upgrading/47.md diff --git a/docSite/content/docs/development/upgrading/471.md b/docSite/content/zh-cn/docs/development/upgrading/471.md similarity index 100% rename from docSite/content/docs/development/upgrading/471.md rename to docSite/content/zh-cn/docs/development/upgrading/471.md diff --git a/docSite/content/docs/development/upgrading/48.md b/docSite/content/zh-cn/docs/development/upgrading/48.md similarity index 100% rename from docSite/content/docs/development/upgrading/48.md rename to docSite/content/zh-cn/docs/development/upgrading/48.md diff --git a/docSite/content/docs/development/upgrading/481.md b/docSite/content/zh-cn/docs/development/upgrading/481.md similarity index 100% rename from docSite/content/docs/development/upgrading/481.md rename to docSite/content/zh-cn/docs/development/upgrading/481.md diff --git a/docSite/content/docs/development/upgrading/482.md b/docSite/content/zh-cn/docs/development/upgrading/482.md similarity index 100% rename from docSite/content/docs/development/upgrading/482.md rename to docSite/content/zh-cn/docs/development/upgrading/482.md diff --git a/docSite/content/docs/development/upgrading/_index.md b/docSite/content/zh-cn/docs/development/upgrading/_index.md similarity index 100% rename from docSite/content/docs/development/upgrading/_index.md rename to docSite/content/zh-cn/docs/development/upgrading/_index.md diff --git a/docSite/content/docs/development/upgrading/intro.md b/docSite/content/zh-cn/docs/development/upgrading/intro.md similarity index 100% rename from docSite/content/docs/development/upgrading/intro.md rename to docSite/content/zh-cn/docs/development/upgrading/intro.md diff --git a/docSite/content/docs/intro.md b/docSite/content/zh-cn/docs/intro.md similarity index 100% rename from docSite/content/docs/intro.md rename to docSite/content/zh-cn/docs/intro.md diff --git a/docSite/content/docs/pricing.md b/docSite/content/zh-cn/docs/pricing.md similarity index 100% rename from docSite/content/docs/pricing.md rename to docSite/content/zh-cn/docs/pricing.md diff --git a/docSite/content/docs/use-cases/_index.md b/docSite/content/zh-cn/docs/use-cases/_index.md similarity index 100% rename from docSite/content/docs/use-cases/_index.md rename to docSite/content/zh-cn/docs/use-cases/_index.md diff --git a/docSite/content/docs/use-cases/feishu.md b/docSite/content/zh-cn/docs/use-cases/feishu.md similarity index 100% rename from docSite/content/docs/use-cases/feishu.md rename to docSite/content/zh-cn/docs/use-cases/feishu.md diff --git a/docSite/content/docs/use-cases/gapier.md b/docSite/content/zh-cn/docs/use-cases/gapier.md similarity index 100% rename from docSite/content/docs/use-cases/gapier.md rename to docSite/content/zh-cn/docs/use-cases/gapier.md diff --git a/docSite/content/docs/use-cases/onwechat.md b/docSite/content/zh-cn/docs/use-cases/onwechat.md similarity index 100% rename from docSite/content/docs/use-cases/onwechat.md rename to docSite/content/zh-cn/docs/use-cases/onwechat.md diff --git a/docSite/content/docs/use-cases/openapi.md b/docSite/content/zh-cn/docs/use-cases/openapi.md similarity index 100% rename from docSite/content/docs/use-cases/openapi.md rename to docSite/content/zh-cn/docs/use-cases/openapi.md diff --git a/docSite/content/docs/use-cases/wechat.md b/docSite/content/zh-cn/docs/use-cases/wechat.md similarity index 100% rename from docSite/content/docs/use-cases/wechat.md rename to docSite/content/zh-cn/docs/use-cases/wechat.md diff --git a/docSite/content/docs/workflow/_index.md b/docSite/content/zh-cn/docs/workflow/_index.md similarity index 100% rename from docSite/content/docs/workflow/_index.md rename to docSite/content/zh-cn/docs/workflow/_index.md diff --git a/docSite/content/docs/workflow/examples/_index.md b/docSite/content/zh-cn/docs/workflow/examples/_index.md similarity index 100% rename from docSite/content/docs/workflow/examples/_index.md rename to docSite/content/zh-cn/docs/workflow/examples/_index.md diff --git a/docSite/content/docs/workflow/examples/dalle3.md b/docSite/content/zh-cn/docs/workflow/examples/dalle3.md similarity index 100% rename from docSite/content/docs/workflow/examples/dalle3.md rename to docSite/content/zh-cn/docs/workflow/examples/dalle3.md diff --git a/docSite/content/docs/workflow/examples/feishu_webhook.md b/docSite/content/zh-cn/docs/workflow/examples/feishu_webhook.md similarity index 100% rename from docSite/content/docs/workflow/examples/feishu_webhook.md rename to docSite/content/zh-cn/docs/workflow/examples/feishu_webhook.md diff --git a/docSite/content/docs/workflow/examples/fixingEvidence.md b/docSite/content/zh-cn/docs/workflow/examples/fixingEvidence.md similarity index 100% rename from docSite/content/docs/workflow/examples/fixingEvidence.md rename to docSite/content/zh-cn/docs/workflow/examples/fixingEvidence.md diff --git a/docSite/content/docs/workflow/examples/google_search.md b/docSite/content/zh-cn/docs/workflow/examples/google_search.md similarity index 100% rename from docSite/content/docs/workflow/examples/google_search.md rename to docSite/content/zh-cn/docs/workflow/examples/google_search.md diff --git a/docSite/content/docs/workflow/examples/lab_appointment.md b/docSite/content/zh-cn/docs/workflow/examples/lab_appointment.md similarity index 100% rename from docSite/content/docs/workflow/examples/lab_appointment.md rename to docSite/content/zh-cn/docs/workflow/examples/lab_appointment.md diff --git a/docSite/content/docs/workflow/intro.md b/docSite/content/zh-cn/docs/workflow/intro.md similarity index 100% rename from docSite/content/docs/workflow/intro.md rename to docSite/content/zh-cn/docs/workflow/intro.md diff --git a/docSite/content/docs/workflow/modules/_index.md b/docSite/content/zh-cn/docs/workflow/modules/_index.md similarity index 100% rename from docSite/content/docs/workflow/modules/_index.md rename to docSite/content/zh-cn/docs/workflow/modules/_index.md diff --git a/docSite/content/docs/workflow/modules/ai_chat.md b/docSite/content/zh-cn/docs/workflow/modules/ai_chat.md similarity index 100% rename from docSite/content/docs/workflow/modules/ai_chat.md rename to docSite/content/zh-cn/docs/workflow/modules/ai_chat.md diff --git a/docSite/content/docs/workflow/modules/content_extract.md b/docSite/content/zh-cn/docs/workflow/modules/content_extract.md similarity index 100% rename from docSite/content/docs/workflow/modules/content_extract.md rename to docSite/content/zh-cn/docs/workflow/modules/content_extract.md diff --git a/docSite/content/docs/workflow/modules/coreferenceResolution.md b/docSite/content/zh-cn/docs/workflow/modules/coreferenceResolution.md similarity index 100% rename from docSite/content/docs/workflow/modules/coreferenceResolution.md rename to docSite/content/zh-cn/docs/workflow/modules/coreferenceResolution.md diff --git a/docSite/content/docs/workflow/modules/custom_feedback.md b/docSite/content/zh-cn/docs/workflow/modules/custom_feedback.md similarity index 100% rename from docSite/content/docs/workflow/modules/custom_feedback.md rename to docSite/content/zh-cn/docs/workflow/modules/custom_feedback.md diff --git a/docSite/content/docs/workflow/modules/dataset_search.md b/docSite/content/zh-cn/docs/workflow/modules/dataset_search.md similarity index 100% rename from docSite/content/docs/workflow/modules/dataset_search.md rename to docSite/content/zh-cn/docs/workflow/modules/dataset_search.md diff --git a/docSite/content/docs/workflow/modules/http.md b/docSite/content/zh-cn/docs/workflow/modules/http.md similarity index 100% rename from docSite/content/docs/workflow/modules/http.md rename to docSite/content/zh-cn/docs/workflow/modules/http.md diff --git a/docSite/content/docs/workflow/modules/input.md b/docSite/content/zh-cn/docs/workflow/modules/input.md similarity index 100% rename from docSite/content/docs/workflow/modules/input.md rename to docSite/content/zh-cn/docs/workflow/modules/input.md diff --git a/docSite/content/docs/workflow/modules/laf.md b/docSite/content/zh-cn/docs/workflow/modules/laf.md similarity index 100% rename from docSite/content/docs/workflow/modules/laf.md rename to docSite/content/zh-cn/docs/workflow/modules/laf.md diff --git a/docSite/content/docs/workflow/modules/question_classify.md b/docSite/content/zh-cn/docs/workflow/modules/question_classify.md similarity index 100% rename from docSite/content/docs/workflow/modules/question_classify.md rename to docSite/content/zh-cn/docs/workflow/modules/question_classify.md diff --git a/docSite/content/docs/workflow/modules/reply.md b/docSite/content/zh-cn/docs/workflow/modules/reply.md similarity index 100% rename from docSite/content/docs/workflow/modules/reply.md rename to docSite/content/zh-cn/docs/workflow/modules/reply.md diff --git a/docSite/content/docs/workflow/modules/text_editor.md b/docSite/content/zh-cn/docs/workflow/modules/text_editor.md similarity index 100% rename from docSite/content/docs/workflow/modules/text_editor.md rename to docSite/content/zh-cn/docs/workflow/modules/text_editor.md diff --git a/docSite/content/docs/workflow/modules/tfswitch.md b/docSite/content/zh-cn/docs/workflow/modules/tfswitch.md similarity index 100% rename from docSite/content/docs/workflow/modules/tfswitch.md rename to docSite/content/zh-cn/docs/workflow/modules/tfswitch.md diff --git a/docSite/content/docs/workflow/modules/tool.md b/docSite/content/zh-cn/docs/workflow/modules/tool.md similarity index 100% rename from docSite/content/docs/workflow/modules/tool.md rename to docSite/content/zh-cn/docs/workflow/modules/tool.md diff --git a/docSite/hugo.toml b/docSite/hugo.toml index 727f1fea5..8330e985a 100644 --- a/docSite/hugo.toml +++ b/docSite/hugo.toml @@ -1,4 +1,4 @@ -baseURL = "https://fastgpt.in" +baseURL = "https://doc.fastgpt.in" languageCode = "en-GB" contentDir = "content" enableEmoji = true @@ -9,7 +9,7 @@ defaultContentLanguage = 'zh-cn' [languages.zh-cn] title = "FastGPT" languageName = "简体中文" - #contentDir = "content/zh-cn" + contentDir = "content/zh-cn" weight = 10 [languages.en] title = "FastGPT Docs"