跳转到内容

快速开始

进入文档中心目录:

Terminal window
cd /Users/chenyinglin/agent-backend/docs-center

安装依赖:

Terminal window
npm install

启动开发服务:

Terminal window
npm run dev

构建静态站点:

Terminal window
npm run build

生成给 LLM 使用的索引:

Terminal window
npm run gen:index

生成文件位于:

  • public/llms.txt
  • public/llms-full.txt
  • public/docs-index.json
  • public/services/platform-service.txt 等单篇文档纯文本文件