离线资料 · 01-ai-agent-handbook/CONTRIBUTING.html
首先,感谢你愿意为 AI Agent 实战手册 贡献力量!🎉 你的每一个 PR、Issue 或建议,都在帮助更多中文开发者进入 AI Agent 的世界。
English version available at the bottom of this file.
ai-agent-handbook/
├── chapters/ # 中文教程章节(01-18 + 00 快速上手 + 99 术语表)
├── en/ # 英文版(chapters/ 为已翻译章节)
├── docs/ # 参考文档(框架对比 / 工具调用 / 最佳实践)
├── appendix/ # 附录(错误排查 / 学习资源)
├── examples/ # 可运行示例代码(Python)
├── scripts/ # 工具脚本(如文档站点暂存构建)
└── mkdocs.yml # 在线文档站点配置(GitHub Pages)
# 1. 克隆仓库
git clone https://github.com/Xwh630/ai-agent-handbook.git
cd ai-agent-handbook
# 2.(可选)本地预览在线文档站点
pip install mkdocs-material
python scripts/build_docs.py # 暂存文档内容到 site-content/
mkdocs serve # 打开 http://127.0.0.1:8000
git checkout -b feat/your-feature # 或 fix/xxx, docs/xxx
# ... 做出你的改动 ...
git add .
git commit -m "✨ 描述你的改动"
git push origin feat/your-feature
然后在 GitHub 上创建 Pull Request(使用 PR 模板)。
| 类型 | 示例 |
|---|---|
| 📖 新增章节 | 新的框架教程、新玩法实战 |
| ✏️ 内容修正 | 错别字、过时 API、失效链接 |
| 🌐 翻译 | 将中文章节翻译为英文(见下方翻译约定) |
| 💻 示例代码 | 新增 examples/ 下的可运行 demo |
| 🛠️ 基础设施 | 文档站点、CI、Docker 配置优化 |
| 💡 想法建议 | 新框架覆盖、路线图讨论 |
en/chapters/,文件名与中文保持一致。en/TRANSLATION_STATUS.md 的状态表。../en/chapters/同名文件。mkdocs build 无新警告(先运行 python scripts/build_docs.py)examples/ 下示例可通过 python 文件.py 运行feat: / fix: / docs: / chore: 等)Thank you for contributing to the AI Agent Practical Handbook! ❤️
en/chapters/ with matching filenames, and update en/TRANSLATION_STATUS.md.python scripts/build_docs.py && mkdocs build for docs changes; make sure example scripts run.feat:, fix:, docs:, chore:).All contributions, big or small, are deeply appreciated. Star the repo if you find it helpful! ⭐