From 839563f3088901472d74df59ef2f74ae5ec48bd3 Mon Sep 17 00:00:00 2001 From: JeffJiang Date: Sun, 12 Apr 2026 11:16:08 +0800 Subject: [PATCH] feat: Add metadata and descriptions to various documentation pages in Chinese - Added titles and descriptions to workspace usage, configuration, customization, design principles, installation, integration guide, lead agent, MCP integration, memory system, middleware, quick start, sandbox, skills, subagents, and tools documentation. - Removed outdated API/Gateway reference and concepts glossary pages. - Updated configuration reference to reflect current structure and removed unnecessary sections. - Introduced new model provider documentation for Ark and updated the index page for model providers. - Enhanced tutorials with titles and descriptions for better clarity and navigation. --- deer-flow.code-workspace | 4 +- frontend/src/app/[lang]/docs/layout.tsx | 4 +- frontend/src/components/landing/footer.tsx | 15 +- frontend/src/content/en/_meta.ts | 9 + .../en/application/agents-and-threads.mdx | 5 + .../content/en/application/configuration.mdx | 5 + .../en/application/deployment-guide.mdx | 56 +++--- frontend/src/content/en/application/index.mdx | 5 + .../operations-and-troubleshooting.mdx | 5 + .../content/en/application/quick-start.mdx | 5 + .../en/application/workspace-usage.mdx | 5 + .../src/content/en/harness/configuration.mdx | 5 + .../src/content/en/harness/customization.mdx | 5 + .../content/en/harness/design-principles.mdx | 5 + frontend/src/content/en/harness/index.mdx | 5 + .../content/en/harness/integration-guide.mdx | 5 + .../src/content/en/harness/lead-agent.mdx | 5 + frontend/src/content/en/harness/mcp.mdx | 5 + frontend/src/content/en/harness/memory.mdx | 5 + .../src/content/en/harness/middlewares.mdx | 5 + .../src/content/en/harness/quick-start.mdx | 168 +++++++----------- frontend/src/content/en/harness/sandbox.mdx | 5 + frontend/src/content/en/harness/skills.mdx | 5 + frontend/src/content/en/harness/subagents.mdx | 5 + frontend/src/content/en/harness/tools.mdx | 5 + .../content/en/introduction/core-concepts.mdx | 5 + .../en/introduction/harness-vs-app.mdx | 5 + .../content/en/introduction/why-deerflow.mdx | 5 + frontend/src/content/en/reference/_meta.ts | 16 +- .../en/reference/api-gateway-reference.mdx | 69 ------- .../en/reference/concepts-glossary.mdx | 67 ------- .../en/reference/configuration-reference.mdx | 123 ------------- .../en/reference/model-providers/_meta.ts | 9 + .../en/reference/model-providers/ark.mdx | 8 + .../en/reference/model-providers/index.mdx | 7 + .../en/reference/runtime-flags-and-modes.mdx | 36 ---- .../src/content/en/reference/source-map.mdx | 88 --------- .../tutorials/create-your-first-harness.mdx | 5 + .../en/tutorials/deploy-your-own-deerflow.mdx | 5 + .../en/tutorials/first-conversation.mdx | 5 + .../en/tutorials/use-tools-and-skills.mdx | 5 + .../content/en/tutorials/work-with-memory.mdx | 5 + frontend/src/content/zh/_meta.ts | 9 + .../zh/application/agents-and-threads.mdx | 5 + .../content/zh/application/configuration.mdx | 5 + .../zh/application/deployment-guide.mdx | 5 + frontend/src/content/zh/application/index.mdx | 5 + .../operations-and-troubleshooting.mdx | 5 + .../content/zh/application/quick-start.mdx | 5 + .../zh/application/workspace-usage.mdx | 5 + .../src/content/zh/harness/configuration.mdx | 5 + .../src/content/zh/harness/customization.mdx | 5 + .../content/zh/harness/design-principles.mdx | 5 + frontend/src/content/zh/harness/index.mdx | 5 + .../content/zh/harness/integration-guide.mdx | 5 + .../src/content/zh/harness/lead-agent.mdx | 5 + frontend/src/content/zh/harness/mcp.mdx | 10 +- frontend/src/content/zh/harness/memory.mdx | 5 + .../src/content/zh/harness/middlewares.mdx | 5 + .../src/content/zh/harness/quick-start.mdx | 166 +++++++---------- frontend/src/content/zh/harness/sandbox.mdx | 5 + frontend/src/content/zh/harness/skills.mdx | 5 + frontend/src/content/zh/harness/subagents.mdx | 5 + frontend/src/content/zh/harness/tools.mdx | 5 + .../content/zh/introduction/core-concepts.mdx | 5 + .../zh/introduction/harness-vs-app.mdx | 5 + .../content/zh/introduction/why-deerflow.mdx | 5 + frontend/src/content/zh/reference/_meta.ts | 16 +- .../zh/reference/api-gateway-reference.mdx | 68 ------- .../zh/reference/concepts-glossary.mdx | 67 ------- .../zh/reference/configuration-reference.mdx | 122 ------------- .../zh/reference/model-providers/_meta.ts | 9 + .../zh/reference/model-providers/ark.mdx | 8 + .../zh/reference/model-providers/index.mdx | 7 + .../zh/reference/runtime-flags-and-modes.mdx | 36 ---- .../src/content/zh/reference/source-map.mdx | 88 --------- .../tutorials/create-your-first-harness.mdx | 5 + .../zh/tutorials/deploy-your-own-deerflow.mdx | 5 + .../zh/tutorials/first-conversation.mdx | 5 + .../zh/tutorials/use-tools-and-skills.mdx | 5 + .../content/zh/tutorials/work-with-memory.mdx | 5 + 81 files changed, 528 insertions(+), 1027 deletions(-) delete mode 100644 frontend/src/content/en/reference/api-gateway-reference.mdx delete mode 100644 frontend/src/content/en/reference/concepts-glossary.mdx delete mode 100644 frontend/src/content/en/reference/configuration-reference.mdx create mode 100644 frontend/src/content/en/reference/model-providers/_meta.ts create mode 100644 frontend/src/content/en/reference/model-providers/ark.mdx create mode 100644 frontend/src/content/en/reference/model-providers/index.mdx delete mode 100644 frontend/src/content/en/reference/runtime-flags-and-modes.mdx delete mode 100644 frontend/src/content/en/reference/source-map.mdx delete mode 100644 frontend/src/content/zh/reference/api-gateway-reference.mdx delete mode 100644 frontend/src/content/zh/reference/concepts-glossary.mdx delete mode 100644 frontend/src/content/zh/reference/configuration-reference.mdx create mode 100644 frontend/src/content/zh/reference/model-providers/_meta.ts create mode 100644 frontend/src/content/zh/reference/model-providers/ark.mdx create mode 100644 frontend/src/content/zh/reference/model-providers/index.mdx delete mode 100644 frontend/src/content/zh/reference/runtime-flags-and-modes.mdx delete mode 100644 frontend/src/content/zh/reference/source-map.mdx diff --git a/deer-flow.code-workspace b/deer-flow.code-workspace index ef2863302..a4f4cb240 100644 --- a/deer-flow.code-workspace +++ b/deer-flow.code-workspace @@ -5,7 +5,7 @@ } ], "settings": { - "typescript.tsdk": "frontend/node_modules/typescript/lib", + "js/ts.tsdk.path": "frontend/node_modules/typescript/lib", "python-envs.pythonProjects": [ { "path": "backend", @@ -44,4 +44,4 @@ } ] } -} +} \ No newline at end of file diff --git a/frontend/src/app/[lang]/docs/layout.tsx b/frontend/src/app/[lang]/docs/layout.tsx index f63d6ae7b..895da1da8 100644 --- a/frontend/src/app/[lang]/docs/layout.tsx +++ b/frontend/src/app/[lang]/docs/layout.tsx @@ -34,14 +34,14 @@ export default async function DocLayout({ children, params }) { } pageMap={pageMap} docsRepositoryBase="https://github.com/bytedance/deerflow/tree/main/frontend/src/content" - footer={