已合并
docs: figures图片文件名去除zh-cn_前缀并同步更新引用 #6788
ai_xin创建于 12 天前
docs: figures图片文件名去除zh-cn_前缀并同步更新引用 #6788
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 ai_xin 的贡献)atomgit-bot
12 天前 评论:
12 天前 评论:
变更摘要
本 PR 为纯文档变更,目的是统一 docs/zh 目录下 figures 图片的命名规范:去除图片文件名中的 zh-cn_ 前缀,并同步更新所有 Markdown 文档中对该图片的引用,使图片资源命名不再绑定语言前缀。改动覆盖公式图片(zh-cn_formulaimage_*.png → formulaimage_*.png)与普通示意图(zh-cn_image_*.png → image_*.png)两类,涉及 API 参考文档与最佳实践等指南文档中的公式、示意图引用。
主要改动
- 公式图片引用去前缀:将 Markdown 中的
../../../../figures/zh-cn_formulaimage_*.png等引用统一改为figures/formulaimage_*.png,涉及SIMD-API/adv_api下activation_functions、math_compute、normalization、quantization、sort_operations、tensor_transform以及SIMT-API/math_functions各算子和数学函数文档。 - 普通示意图引用去前缀:将
zh-cn_image_*.png形式的引用改为image_*.png,例如ListTensorDesc.md、TensorDesc/GetDataPtr.md、LoadDataWithTranspose.md、sort_operations/Sort.md、copy_l1_to_l0scalea.md、copy_l1_to_l0scaleb.md等文档中的内存排布、数据排布与缩放示意图。 - 正文内联图片同步更新:除独占一行的图片外,正文中内联插入的公式图片(如
GeGLU.md中「erf 为误差函数」、GroupNorm.md、WelfordFinalize.md、SoftmaxGrad_Tiling_interface.md参数表中的isFront描述)也一并更新为新的文件名。 - 相对路径层级保持不变:改动仅替换文件名,
figures目录相对路径的层级(../../../figures/、../../../../figures/)未变,保证图片在不同目录深度文档中的解析路径仍然有效。 - 指南类文档引用同步:
docs/zh/guide下的快速入门、算子实践与最佳实践文档(如flash_attention_tuning.md、grouped_matmul_tuning.md、各matmul_tuning_cases及技术附录)中的图片引用也同步去除前缀。


不准确?
atomgit-bot
12 天前 评论:
12 天前 评论:
12 天前 添加了label:cann-cla/yes
CANN-robot
12 天前 评论:
12 天前 评论:
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 |
|---|---|---|
| docs | ✅ munanhw, wulinyu (2/2) | ✅ munanhw (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
ai_xin, thanks for your pull request. All authors of the commits have signed the CLA. 👍


12 天前 将zengjuan,zhanghao_0689,suqwe,wulinyu,kong0808,dengjing_aoe,YeZZzzz1,bluesky901,yangbinhua,zhudi22,chenyiyuan,xun_zhuge,XuebinYang,sjtulxh,bianque,houyuyang,Lycheeeee,YANXI_ZHAO,chentianyu19,shi_nanxiang,wuyang_hw,jiangxinyu3,munanhw,ascendhjh,hujiawen_kaven,wangxiaozhi,DragonBornHD84,louyuxuan,hyolee,yukangchen设为评审人
12 天前 将zengjuan,zhanghao_0689,suqwe,wulinyu,kong0808,dengjing_aoe,YeZZzzz1,bluesky901,yangbinhua,zhudi22,chenyiyuan,xun_zhuge,XuebinYang,sjtulxh,bianque,houyuyang,Lycheeeee,YANXI_ZHAO,chentianyu19,shi_nanxiang,wuyang_hw,jiangxinyu3,munanhw,ascendhjh,hujiawen_kaven,wangxiaozhi,DragonBornHD84,louyuxuan,hyolee,yukangchen设为评审人
12 天前 将bianque,munanhw,ascendhjh设为审查人
CANN-robot
12 天前 评论:
12 天前 评论:
| 🚀 CI 流水线已启动 |
|---|
| 📋 执行详情: 点击查看流水线 |


12 天前 添加了label:ci-pipeline-running
12 天前 删除了label:ci-pipeline-running
12 天前 添加了label:ci-pipeline-passed
12 天前 添加了label:approved
12 天前 添加了label:lgtm
12 天前 合入了pull request
描述
docs: figures图片文件名去除zh-cn_前缀并同步更新引用
关联的Issue
测试
文档更新
更新了docs/zh下md文件。
类型标签