已开启
[Documentation|文档反馈]: op_debug_prof 中英文文档的 Simulator 链接失效(文件名不存在 + 中文锚点不匹配) #42
eieiei创建于  10 天前
eieiei
eieiei
10 天前 创建

Describe the current behavior / 问题描述 (Mandatory / 必填)

docs/zh/debug/op_debug_prof.md 与 docs/en/debug/op_debug_prof.md 中指向 CANN Simulator 的 3 处链接失效:

# 位置 master 原文 问题
1 docs/en/debug/op_debug_prof.md:170 [CANN Simulator](./cann_simulator.md) 文件名不存在
2 docs/en/debug/op_debug_prof.md:190 ](./cann_simulator.md#simulation-result-analysis-instructions) 同一文件名错(锚点本身正确)
3 docs/zh/debug/op_debug_prof.md:187 ](./cann_sim.md#仿真结果解析) 锚点与标题不匹配

Steps to reproduce / 重现步骤

无需编译环境,静态可核对:

  1. 列目录:docs/en/debug/ 与 docs/zh/debug/ 下均只有 cann_sim.md 与 op_debug_prof.md,
    不存在 cann_simulator.md → 问题 1、2 成立;
  2. 查锚点:docs/zh/debug/cann_sim.md 的标题写作 # 仿真结果解析说明(全文无独立的
    “仿真结果解析”标题)→ 中文锚点必须补“说明”两字;
    docs/en/debug/cann_sim.md 共 29 个标题,其中确有 # Simulation Result Analysis Instructions,
    故英文锚点无需改动,只需改文件名。

Describe the expected behavior / 预期结果

三处链接均可正常跳转:英文侧指向 ./cann_sim.md,中文侧锚点为 #仿真结果解析说明。

影响范围

读者按文档点击 Simulator 链接会得到 404 / 锚点不跳转,无法进入仿真工具说明,
属于「链接错误」类基础缺陷(活动定级 L1)。

likedislike
LiuZonggu成员
9 天前 评论:

/assign @wsnidie1

likedislike
CANN-robotCANN-robot成员
9 天前 将 wsnidie1 设为负责人
LiuZonggu成员
7 天前 评论:

issue 描述信息请按照 Documentation|文档反馈 模板格式填写

likedislike
LLiuZonggu成员
7 天前 修改标题为 “[Documentation|文档反馈]: op_debug_prof 中英文文档的 Simulator 链接失效(文件名不存在 + 中文锚点不匹配)”,原标题为“[Bug-Report|缺陷反馈]: op_debug_prof 中英文文档的 Simulator 链接失效(文件名不存在 + 中文锚点不匹配)”
eieiei
eieiei
1 天前 评论:

该问题已由 !112 修复(op_debug_prof 中英文文档 Simulator 链接失效(文件名 + 锚点))。合并后即可关闭本 Issue;如需我调整改法请说。

likedislike