| [feat] add some github workflow: sync all branches from gitcode/deploy mkdocs
Co-authored-by: mystri<hanboyou@huawei.com>
# message auto-generated for no-merge-commit merge:
!233 merge feat/deploy-docs-sync into master
[feat] add some github workflow: sync all branches from gitcode/deploy mkdocs
Created-by: mystri
Commit-by: mystri
Merged-by: cann-robot
Description: ## 描述
- Sync all upstream branches — sync-upstream.yml now fetches and pushes every branch from cann/torchtitan-npu, not just master
- Auto-deploy docs — new deploy-docs.yml builds mkdocs and deploys to
torchtitan-npu.github.io/torchtitan-npu on push to master, manual dispatch, or after a successful upstream sync
- mkdocs setup — config, image-path rewrite hook, and docs/index.md that pulls in README
Notes
- deploy-docs uses workflow_run to chain after Sync Upstream.
- Badges inside the <div align="center"> block may render as text on mkdocs due to Python-Markdown not parsing markdown inside HTML blocks. Converted them to <a><img> tags
## 类型
- [ ] Bug 修复
- [ ] 新功能
- [ ] 重构(即不是新增功能,也不是修改bug的代码变动)
- [x] 构建过程或辅助工具的变动
- [ ] 文档内容更新
## Checklist:
- [x] 我的代码遵循这个项目的代码风格
- [x] 我已经自己测试过我的代码
- [x] 我已经更新了相应的文档
- [x] 我已经在标题中正确使用了类型标签(例如:feat, fix, refactor, docs, test)
## 如何测试
Tried executing workflow on github and both worked.
## 其他信息
在这里可以添加任何与这个 Pull Request 相关的其他说明。
See merge request: cann/torchtitan-npu!233 | 7 天前 |