Files
mipu-open/README.md
杨柳杰 b450b512a2 init: mipu-open 对外开放项目统一管理仓库
- 添加 mipu-api 作为 git submodule (Claude Code Skill)
- 迁移 API 文档源文件到 docs/ 目录统一维护
- 添加 Gitea Actions 工作流:tag推送自动打包docs并发布Release
- Skill 运行时自动从 mipu-open Release 下载最新文档

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-04 12:16:08 +08:00

59 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Mipu Open
米普对外开放项目的统一管理仓库。
## 子项目
| 子项目 | 说明 |
|--------|------|
| [mipu-api](./mipu-api/) | Claude Code 开发 Skill辅助外部开发者快速对接米普 API |
| docs/ | API 文档源文件(本仓库维护,通过 Release 发布 tar 包) |
| mipu-sdk | 开发 SDK待添加 |
## 文档发布流程
文档源文件在 `docs/` 目录维护。发布新版本:
```bash
# 1. 修改 docs/ 下的文档
# 2. 提交并打 tag
git add docs/
git commit -m "更新API文档"
git tag v1.1.0
git push && git push --tags
# Gitea Actions 自动:
# - 打包 docs/ 为 docs.tar.gz
# - 创建 Release 并附加 docs.tar.gz
```
Skill 端会在每次调用时自动检查 Release 版本并下载更新。
## 快速开始
克隆主仓库及所有子模块:
```bash
git clone --recurse-submodules <this-repo-url>
```
如果已经克隆了主仓库:
```bash
git submodule update --init --recursive
```
## 更新子模块
拉取所有子模块的最新更新:
```bash
git submodule update --remote
```
## 添加新子模块
```bash
git submodule add <repo-url> <directory-name>
```