已合并
[Documentation] 统一全仓书名号链接写法为规范格式(16 处) #7478
[Documentation] 统一全仓书名号链接写法为规范格式(16 处) #7478
已合并
hw_0086_hrf创建于 10 天前
hw_0086_hrf
hw_0086_hrf
10 天前

描述

全仓 Markdown 扫描发现 16 处「书名号在链接内」的旧写法 [《文档名》](url),与本仓既有规范写法 《[文档名](url)》 不一致(证据见关联 Issue;同组织 ops-cv 仓已由已合入的 !2511/!2499 完成同类统一)。

本 PR 把 14 个文件中的 16 处全部统一为 《[文档名](url)》。仅改标点位置,不改链接目标、文档名或任何其它内容,不涉及算子实现。另有 21 个文件(带英文配对 README 或含既有行尾空白)未包含在本 PR 内,已在关联 Issue 中列出,待维护者确认处理方式。

关联 Issue: https://gitcode.com/cann/asc-devkit/issues/2043

关联的Issue

关联 Issue #2043
https://gitcode.com/cann/asc-devkit/issues/2043

测试

  • 静态核对(修正前):正则 \[《[^》]+》\]\(https?://[^)]+\) 命中 16 处(14 个文件,已排除 torchapi_*.md 与带英文配对/含行尾空白的文件);
  • 修正后:上述文件旧写法 0 处;新写法与仓内既有《X》一致;
  • 全部目标文件已确认无行尾空白(pre-commit trailing whitespace 不受影响);
  • 本次仅改 Markdown 标点位置,未运行构建、未执行算子、未使用 NPU。

文档更新

  • docs/zh/api/SIMD-API/adv_api/HCCL_communication/HCCL_Tiling/CheckOpResSufficient.md
  • docs/zh/api/SIMD-API/basic_api/sync_control/inter_core_sync/SyncAll.md
  • docs/zh/api/Utils-API/RTC/aclrtcCompileProg.md
  • docs/zh/api/Utils-API/Tiling_tuning/ContextBuilder/AddPlatformInfo.md
  • docs/zh/api/Utils-API/prototype_register_management/OpDef/EnableFallBack.md
  • docs/zh/guide/programming_guide/advanced_programming/aclnn_operator_development/appendix/external_sample_links.md
  • docs/zh/guide/programming_guide/advanced_programming/aclnn_operator_development/compilation_and_deployment/dynamic_static_lib_compilation.md
  • docs/zh/guide/programming_guide/compilation_and_execution/async_execution.md
  • docs/zh/guide/programming_guide/compilation_and_execution/operator_compilation/rtc_runtime_compilation.md
  • docs/zh/guide/programming_guide/programming_model/ai_core_simd_programming/c_pointer_programming/c_programming_overview.md
  • docs/zh/guide/programming_guide/programming_model/ai_core_simd_programming/cpp_tensor_programming/cpp_tensor_programming_overview.md
  • docs/zh/guide/programming_guide/programming_model/ai_core_simd_programming/kernel_function.md
  • docs/zh/guide/programming_guide/programming_model/heterogeneous_system.md
  • docs/zh/guide/technical_appendix/cpp_standard_support/cpp_language_restrictions/general_restrictions.md

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 hw_0086_hrf 的贡献)
hw_0086_hrfhw_0086_hrf
10 天前 创建了 pull request,commit 58e1c4de
hw_0086_hrfhw_0086_hrf
10 天前 关联了issue:[Documentation|文档反馈] 16 处书名号链接写法与规范格式不一致
atomgit-bot
atomgit-bot
10 天前 评论:

变更摘要

本 PR 为文档格式统一变更:扫描全仓 Markdown 后,将 14 个文件中的 16 处旧写法 [《文档名》](url) 统一调整为仓内规范的 《[文档名](url)》。改动只涉及书名号与链接标记的相对位置,未修改链接目标、文档名或其他正文内容,也不涉及算子实现与代码逻辑。

主要改动

  • 书名号与链接嵌套顺序统一:将文档中所有 [《X》](url) 形式的引用改为 《[X](url)》,覆盖 API 参考、编程指南与附录等多类页面,使书名号包裹链接而非链接包裹书名号。
  • 跨仓手册引用写法调整:涉及 Runtime运行时API、基础数据结构和接口、环境变量参考、毕昇编译器 等外部或跨仓文档的引用,统一为新格式,链接地址保持不变。
  • 指南与参考列表引用同步调整:在 external_sample_links.md 的“其他参考”列表项、dynamic_static_lib_compilation.md 的图开发说明,以及 async_execution.md、heterogeneous_system.md 等页面中,图开发、应用开发 等引用同步改为规范写法。
  • 表格与 HTML 表格内链接一并统一:CheckOpResSufficient.md 的参数表与 aclrtcCompileProg.md 的 HTML 表格单元格中,原有引用写法均按同一规则调整,保证表格内外格式一致。
likedislike
不准确?
atomgit-bot
atomgit-bot
10 天前 评论:

代码审查

✅ 未发现问题

likedislike
不准确?
CANN-robot
CANN-robot成员
10 天前 评论:

Hi @hw_0086_hrf, welcome to submitting your first PR to CANN!

PR Merge Steps

1. CLA Signing

If the current PR label includes cann-cla/yes, it means you have signed the CLA and can proceed to the next step. If the label includes cann-cla/no, please sign the CLA first. If you have any questions, please refer to the FAQ.

2. CI Check

Please comment /compile to trigger the CI pipeline check. If the CI run is successful, the PR will be tagged with ci-pipeline-passed and you can proceed to the next step. If the CI run fails, the PR will be tagged with ci-pipeline-failed, please check the CI logs to fix the issues in the PR. If you have any questions, please refer to the FAQ.

3. Code Review

After CI passes, please refer to the PR Approval Progress and proactively @ the committers in the table to review the code. After approval, committers will comment /lgtm and /approve. Once the lgtm and approved labels are successfully added, the PR will be merged automatically.
%!(EXTRA string=https://atomgit.com/cann/community/blob/master/en/sig-infrastructure/command.md)

likedislike
hw_0086_hrf
hw_0086_hrf
10 天前 评论:

/compile

likedislike
hw_0086_hrfhw_0086_hrf
10 天前 预合并成功(commit_id: 2d919f1700909f72dc6b2d45aed0acaa1acc4be6)
CANN-robotCANN-robot成员
10 天前 添加了label:stat/needs-squash
CANN-robotCANN-robot成员
10 天前 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
10 天前 评论:

CLA Signature Pass

hw_0086_hrf, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robot
CANN-robot成员
10 天前 评论:

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)
likedislike
hw_0086_hrf
hw_0086_hrf
10 天前 评论:

已按 PR Merge Steps 触发 /compile。本 PR 仅修改 14 个 Markdown 文档的书名号链接标点位置(16 处),关联 Issue #2043,未改动任何代码逻辑。

麻烦 @munanhw @ai_xin @bianque 帮忙评审,如无问题请 /lgtm /approve,谢谢!

likedislike
CANN-robotCANN-robot成员
10 天前 将zengjuan,zhanghao_0689,suqwe,wulinyu,kong0808,dengjing_aoe,YeZZzzz1,yangbinhua,zhudi22,chenyiyuan,xun_zhuge,XuebinYang,sjtulxh,bianque,houyuyang,Lycheeeee,YANXI_ZHAO,chentianyu19,shi_nanxiang,wuyang_hw,jiangxinyu3,munanhw,ai_xin,ascendhjh,hujiawen_kaven,wangxiaozhi,DragonBornHD84,louyuxuan,hyolee,chenma,yukangchen设为评审人
CANN-robotCANN-robot成员
10 天前 将bianque,munanhw,ai_xin,ascendhjh设为审查人
CANN-robot
CANN-robot成员
10 天前 评论:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robot成员
10 天前 添加了label:ci-pipeline-running
CANN-robotCANN-robot成员
10 天前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
10 天前 添加了label:ci-pipeline-failed
CANN-robot
CANN-robot成员
10 天前 评论:

流水线分析报告 — asc-devkit run#8078

流水线: https://gitcode.com/cann/asc-devkit/actions/runs/09be0e7346824d6eba90b097995152ed | PR#7478 | 2026-11-17 10:24:48 ~ 2026-11-17 10:26:46 | 失败 Job 2 个

定界结论: 环境问题(CodeCheck/反投毒服务 TLS 证书校验失败,与 PR 代码无关)
  • 失败类型: 环境问题 / Codecheck服务问题
  • 根因: SCA 与 Antipoison 两个 Job 均在与 CodeCheck 服务网关 apig.openlibing.com 通信时 TLS 证书校验失败(unable to verify the first certificate / CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate),任务创建后无法查询结果。
  • 处置: 环境类故障,与 PR 变更无关,直接重新触发流水线即可;若持续失败,联系 CodeCheck/反投毒服务维护者排查 runner 侧 CA 证书链。
  • 排除项: 非 PR 代码问题;非 PR 冲突/取码问题(Checkout 均成功)。

失败根因分析

根因 #1: 环境问题 / Codecheck服务问题 — 服务网关 TLS 证书校验失败(SCA + Antipoison 同因)
  • 判据: 扫描服务创建任务/查询结果阶段 TLS 证书校验失败(服务端证书链不被 runner 信任)
  • 定位步骤: SCA → 1_sca.log;Antipoison → 3_antiposion.log
  • 影响 Job: SCA, Antipoison

证据 1 — SCA(任务创建即失败)

[2026-11-17 10:25:44.787+08:00] [sca check 2026-11-17 10:25:43] create task error
[2026-11-17 10:25:44.788+08:00] [Error: unable to verify the first certificate]
[2026-11-17 10:25:44.789+08:00] [sca check 2026-11-17 10:25:43] create codecheck task error: missing scanId: https://gitcode.com/cann/asc-devkit/pull/7478

证据 2 — Antipoison(任务创建成功,查询结果时证书校验失败)

[2026-11-17 10:25:53,992] INFO [anti posion] Create task success
[2026-11-17 10:26:24,082] ERROR [anti posion] Task failed, error: HTTPSConnectionPool(host='apig.openlibing.com', port=443): Max retries exceeded with url: /openlibing-anti-poison/poison-pr/query-pr-results-status (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')))
[2026-11-17 10:26:24,082] ERROR [anti posion] anti posion get task result failed. timeout after multiple attempts.

两处报错指向同一网关 apig.openlibing.com 的证书校验失败,属同一环境根因;missing scanId 是证书失败导致请求未落地的次生现象。

结构化定界摘要
[{"repo": "asc-devkit", "run_number": 8078, "Failed_Type": "环境问题",
  "Failed_Sub_Type": "Codecheck服务问题",
  "Failed_Reason": "SCA与Antipoison均因CodeCheck服务网关apig.openlibing.com的TLS证书校验失败(unable to verify the first certificate / CERTIFICATE_VERIFY_FAILED)而失败,与PR代码无关",
  "evidence": "SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)'))",
  "suggestion": "环境类故障,重新触发流水线验证;持续失败联系CodeCheck/反投毒服务维护者排查runner侧CA证书链",
  "jobs": "SCA,Antipoison"}]

由门禁失败定界分析自动生成 | repo: asc-devkit | run: 09be0e7346824d6eba90b097995152ed | PR#7478

likedislike
liuliu876
liuliu876成员
10 天前 评论:

@hw_0086_hrf 请重新评论compile触发一下ci

likedislike
hw_0086_hrf
hw_0086_hrf
10 天前 评论:

/compile

likedislike
hw_0086_hrfhw_0086_hrf
10 天前 预合并成功(commit_id: 42160e382e7c71fa913068fed3277c112fafaf38)
CANN-robot
CANN-robot成员
10 天前 评论:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robot成员
10 天前 删除了label:ci-pipeline-failed
CANN-robotCANN-robot成员
10 天前 添加了label:ci-pipeline-running
CANN-robotCANN-robot成员
10 天前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
10 天前 添加了label:ci-pipeline-passed
wulinyu
wulinyu成员
9 天前 评论:

/lgtm
/approve

likedislike
munanhw
munanhw成员
9 天前 评论:

/approve

likedislike
CANN-robot
CANN-robot成员
9 天前 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
/approve: wulinyu

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