Closed
[Docs] 修正 docs/api/README.md 标题层级跳级 #92
aodebiaoAdd on Oct 21Closed at 9 days ago
[Docs] 修正 docs/api/README.md 标题层级跳级 #92
Closed
aodebiaoAdd on Oct 21Closed at 9 days ago
aodebiao
aodebiao
Oct 21

描述

docs/api/README.md 在 h1(# ATVOSS接口列表)之后直接使用 h4(####)作为章节标题,跳过二、三级,共 2 处。按 CANN 文档写作规范中标题层级不跳级的要求,将这两处章节标题调整为 h2,标题文本与正文内容不变。

改动内容

  • docs/api/README.md:2:#### 根据ATVOSS架构分层和模板归属不同… → ## 根据ATVOSS架构分层和模板归属不同…
  • docs/api/README.md:138:#### 为了方便用户表达compute运算逻辑… → ## 为了方便用户表达compute运算逻辑…

共 1 个文件、2 行变更(每处仅调整标题级别)。

关联的Issue

修复 #55([Documentation|文档反馈]: docs/api/README.md 标题层级跳级(h1 后直接 h4))

测试

纯文档改动,不涉及代码,未运行编译与 UT。

验证方式:

  • 修改后该文件标题序列为 h1 → h2 →(正文表格),不存在跨级;
  • 表格锚点(<a name="table_ATVOSS"></a>、#table_ATVOSS)为显式 HTML 锚点与链接,不依赖标题级别,改动后跳转仍有效;
  • 同级标题文本未修改。

文档更新

  • docs/api/README.md

类型标签

likedislike
The current Pull Request has been closed by aodebiao.
aodebiaoaodebiao
Oct 21 Created pull request, commit ef5dc821
aodebiaoaodebiao
Oct 21 Associated issue: [Documentation|文档反馈]: docs/api/README.md 标题层级跳级(h1 后直接 h4)
atomgit-bot
atomgit-bot
Oct 21 Comments:

变更摘要

本 PR 为纯文档改动,针对 docs/api/README.md 中标题层级跳级问题进行修正。该文件在 h1 标题 # ATVOSS接口列表 之后直接使用 h4(####)作为章节标题,跨过了二、三级。按 CANN 文档写作规范中标题层级不跳级的要求,将两处章节标题由 h4 调整为 h2,标题文本与正文内容保持不变。

主要改动

  • 修正首处章节标题层级:docs/api/README.md 中位于文件开头的 #### 根据ATVOSS架构分层和模板归属不同… 调整为 ## 根据ATVOSS架构分层和模板归属不同…,使 h1 之后直接衔接 h2。
  • 修正第二处章节标题层级:#### 为了方便用户表达compute运算逻辑… 调整为 ## 为了方便用户表达compute运算逻辑…,同样消除跨级问题。
  • 保留锚点与正文不变:两处标题内原有的 [表1](#table_ATVOSS)、[表2](#table_Operator) 链接及对应表格 HTML 锚点均未改动,跳转不依赖标题级别,改动后仍有效。
likedislike
Incorrect?
CANN-robot
CANN-robotCollaborators
Oct 21 Comments:

Hi @gxhgxh2475698, 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.

likedislike
atomgit-bot
atomgit-bot
Oct 21 Comments:

代码审查

✅ 未发现问题

likedislike
Incorrect?
CANN-robotCANN-robotCollaborators
Oct 21 Added label: cann-cla/yes
CANN-robot
CANN-robotCollaborators
Oct 21 Comments:

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

⚠️ This PR does not yet meet the following requirements:lgtm (requires ≥ 2 person(s) per module)、approve (requires ≥ 1 person(s) per module)

Module Approval Details

module lgtm status approve status
repo-cann/atvoss ❌ (0/2)(You can also ask: 周奇龙, 顾宝成, 徐鲁威, jia0liang, 冯彤) ❌ (0/1)(You can also ask: jia0liang, 王瑞, 王林木, 冯彤, 周奇龙)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

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

likedislike
CANN-robotCANN-robotCollaborators
Oct 21 Set zhou-qilong,wangrui_,rxtfeng,loov1,jia0liang,llimwang,gubaocheng as approver
aodebiao
aodebiao
Oct 21 Comments:

/compile

likedislike
CANN-robotCANN-robotCollaborators
Oct 21 Set zhou-qilong,wangrui_,rxtfeng,loov1,jia0liang,llimwang,gubaocheng as approver
CANN-robotCANN-robotCollaborators
Oct 21 Added label: ci-pipeline-running
CANN-robot
CANN-robotCollaborators
Oct 21 Comments:

流水线任务触发成功
任务链接 [40a26519f446447481a94b44e63edafb][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
cocheck_codestyle ✅ SUCCESS
precommit ✅ SUCCESS >>>>>
UT_Test ✅ SUCCESS
ST_Test ✅ SUCCESS
API_Check ✅ SUCCESS >>>>>

[2026-10-21 22:14:37]    CI执行结束

likedislike
CANN-robotCANN-robotCollaborators
Oct 21 Added label: api-check-pass
CANN-robotCANN-robotCollaborators
Oct 21 Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
Oct 21 Added label: ci-pipeline-passed
aodebiao
aodebiao
19 days ago Comments:

/compile

likedislike
CANN-robotCANN-robotCollaborators
19 days ago Removed label: ci-pipeline-passedapi-check-pass
CANN-robotCANN-robotCollaborators
19 days ago Added label: ci-pipeline-running
CANN-robot
CANN-robotCollaborators
19 days ago Comments:

流水线任务触发成功
任务链接 [8364081c7c4f4ea49797a5fd0a4f2360][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
cocheck_codestyle ✅ SUCCESS
precommit ✅ SUCCESS >>>>>
UT_Test ✅ SUCCESS
ST_Test ✅ SUCCESS
API_Check ✅ SUCCESS >>>>>

[2026-11-06 22:54:09]    CI执行结束

likedislike
CANN-robotCANN-robotCollaborators
19 days ago Added label: api-check-pass
CANN-robotCANN-robotCollaborators
19 days ago Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
19 days ago Added label: ci-pipeline-passed
aodebiao
aodebiao
12 days ago Comments:

/compile

likedislike
CANN-robotCANN-robotCollaborators
12 days ago Removed label: ci-pipeline-passedapi-check-pass
CANN-robotCANN-robotCollaborators
12 days ago Added label: ci-pipeline-running
CANN-robot
CANN-robotCollaborators
12 days ago Comments:

流水线任务触发成功
任务链接 [52dc99e4106c41e1a7dc2c339e4994d2][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
cocheck_codestyle ✅ SUCCESS
precommit ✅ SUCCESS >>>>>
UT_Test ✅ SUCCESS
ST_Test ✅ SUCCESS
API_Check ✅ SUCCESS >>>>>

[2026-11-13 16:21:05]    CI执行结束

likedislike
CANN-robotCANN-robotCollaborators
12 days ago Added label: api-check-pass
CANN-robotCANN-robotCollaborators
12 days ago Removed label: ci-pipeline-running
CANN-robotCANN-robotCollaborators
12 days ago Added label: ci-pipeline-passed
aodebiao
aodebiao
9 days ago Comments:

按 Issue #55 的检视结论,这两处是表格前的引导说明,不接受单独调整标题层级。撤回本 PR;关联 Issue 已关闭。

likedislike
aodebiaoaodebiao
9 days ago Close pull request