已合并
docs(readme): 重写首页 README,对齐 0.7.0 开源发布 #128
mayafei创建于 25 天前
docs(readme): 重写首页 README,对齐 0.7.0 开源发布 #128
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 mayafei 的贡献)25 天前 添加了label:stat/needs-squash
25 天前 添加了label:cann-cla/yes
CANN-robot
25 天前 评论:
25 天前 评论:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-cann/cannbot-dsl | ✅ liujun2025, yang-jiwei (2/2) | ✅ liujun2025, yang-jiwei (2/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
mayafei, thanks for your pull request. All authors of the commits have signed the CLA. 👍


CANN-robot
25 天前 评论:
25 天前 评论:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


25 天前 添加了label:ci-pipeline-running
25 天前 删除了label:ci-pipeline-running
25 天前 添加了label:ci-pipeline-passed
yang-jiwei
25 天前 评论:
25 天前 评论:
/lgtm
/approve


25 天前 添加了label:approved
liujun2025
25 天前 评论:
25 天前 评论:
/lgtm
/approve


25 天前 添加了label:lgtm
25 天前 合入了pull request
背景
首页 README 停留在旧口径:算子列表与
samples/下的实际内容对不上,快速上手缺少可直接执行的安装步骤(CANN 安装、Python 包安装),最新动态也没有反映 09-29 / 09-30 两批合入的算子。本次按 0.7.0 开源版本重写首页,篇幅 95 行 → 273 行。改动一:
README.md全文重写wget直下命令与x86_64/aarch64说明)、python -m pip install cannbot-dsl、运行一个算子、运行精度测试改动二:
docs/.vitepress/theme/为/api/**各页注入「尝鲜版本」提示index.ts:由export default DefaultTheme改为extends: DefaultTheme+doc-before插槽,按page.relativePath以api/前缀判断,只对 API 章节注入;custom.css:新增.preview-notice样式。改主题一处即可覆盖全部 API 页,无需改动 markdown 文件本身。
验证
npm run build通过(50.06s,无死链);samples/下实际样例逐一对齐,本批 17 个新增算子全部在表内;说明
README 中保留了若干
<!-- TODO -->注释,均为发布前待复核项(例如 pip 源上架后的版本号复核),不会渲染到页面。🤖 Generated with Claude Code