Skip to content

Repository files navigation

LingShu Docs

lingshu-docs · 灵枢文档站

The Documentation Source

Docusaurus 3 · 中英双语 · 自动 deploy 到 lingshu-ai-agent.github.io/lingshu-docs/

stars preview


这是什么

lingshu-docslingshu 引擎的 官方文档站源,基于 Docusaurus 3 构建。

文档站内容在 PR 通过后会自动部署到 https://lingshu-ai-agent.github.io/lingshu-docs/(后期挂 docs.lingshu.ai)。


📁 当前结构(2026-09 bootstrap)

lingshu-docs/
├── docs/
│   ├── intro.md                       ← 30s 上手
│   └── concepts/
│       └── identity-and-memory.md     ← v1.5.5 新增
├── static/
│   └── img/lingshu_logo.svg           ← 品牌图标
├── assets/
│   └── lingshu_logo.svg               ← 旧位置(保留兼容)
├── src/css/custom.css                 ← 品牌色(jade + gold)
├── .github/workflows/deploy.yml       ← GitHub Pages 自动部署
├── docusaurus.config.ts
├── sidebars.ts
└── package.json

⚠️ 早期规划中的子目录(concepts/, guides/, adapters/, reference/, ops/, i18n/)正在按 dsh_agent_design.md §13 版本节奏逐步补全。Identity & Memory 是 v1.5.5 的首发篇,后续 ReAct Loop / Slots / SPI / Sandbox / Skills 等会在 v0.5 路线里一起出。


🛠️ 本地预览

git clone https://github.com/lingshu-ai-agent/lingshu-docs.git
cd lingshu-docs
npm install
npm start
# 浏览器打开 http://localhost:3000

需要 Node.js 18+。


✏️ 如何贡献

改一行文字

  1. 直接在 GitHub 上点 ✏️ 在线编辑
  2. Commit message 写 docs: typo fix in identity-and-memory.md
  3. PR 通过 → 自动部署

新增一篇

git checkout -b docs/new-guide-xxx
# 在 docs/ 下新建 xxx.md,头部加:
---
id: xxx
title: My New Guide
sidebar_position: 10
---
# 然后在 sidebars.ts 的 Concepts/Guides 分类下加一行 'concepts/xxx'
git push origin docs/new-guide-xxx
# 在 GitHub 开 PR

中英同步

英文改完中文 PR 自动合,或者用 Crowdin(后期)。


🚀 自动部署

.github/workflows/deploy.ymlmain 分支 push 时自动 build + deploy 到 GitHub Pages(lingshu-ai-agent.github.io/lingshu-docs/):

  • Node 18 + npm ci + npm run build
  • actions/upload-pages-artifact@v3 上传 build 产物
  • actions/deploy-pages@v4 推到 Pages

📚 相关


📜 License

Apache 2.0 — see LICENSE.

About

Docusaurus docs site for LingShu engine

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages