已合并
docs: figures图片文件名去除zh-cn_前缀并同步更新引用 #6788
ai_xin创建于 12 天前
docs: figures图片文件名去除zh-cn_前缀并同步更新引用 #6788
已合并
ai_xin创建于 12 天前
ai_xin成员
12 天前

描述

docs: figures图片文件名去除zh-cn_前缀并同步更新引用

关联的Issue

测试

文档更新

更新了docs/zh下md文件。

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 ai_xin 的贡献)
Aai_xin成员
12 天前 创建了 pull request,commit 27826bfb
atomgit-bot
atomgit-bot
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 及技术附录)中的图片引用也同步去除前缀。
likedislike
不准确?
atomgit-bot
atomgit-bot
12 天前 评论:

代码审查

✅ 未发现问题

likedislike
不准确?
CANN-robotCANN-robot成员
12 天前 添加了label:cann-cla/yes
ai_xin成员
12 天前 评论:

compile

likedislike
CANN-robot
CANN-robot成员
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 /approve or /lgtm
  • Commenting /approve implies 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. 👍

likedislike
Aai_xin成员
12 天前 预合并成功(commit_id: 757f8fcf94adc5d9143152e922b504142f8bfa7f)
CANN-robotCANN-robot成员
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设为评审人
CANN-robotCANN-robot成员
12 天前 将bianque,munanhw,ascendhjh设为审查人
CANN-robot
CANN-robot成员
12 天前 评论:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robot成员
12 天前 添加了label:ci-pipeline-running
CANN-robotCANN-robot成员
12 天前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
12 天前 添加了label:ci-pipeline-passed
munanhw成员
12 天前 评论:

/approve

likedislike
CANN-robotCANN-robot成员
12 天前 添加了label:approved
wulinyu成员
12 天前 评论:

/lgtm

likedislike
CANN-robotCANN-robot成员
12 天前 添加了label:lgtm
CANN-robotCANN-robot成员
12 天前 合入了pull request