Skip to content

docs: fix remaining single-backtick literals in allclose and pixel_shuffle#7879

Merged
luotao1 merged 2 commits intoPaddlePaddle:developfrom
StatefulDust:fix-single-backticks-allclose-pixel_shuffle
Mar 24, 2026
Merged

docs: fix remaining single-backtick literals in allclose and pixel_shuffle#7879
luotao1 merged 2 commits intoPaddlePaddle:developfrom
StatefulDust:fix-single-backticks-allclose-pixel_shuffle

Conversation

@cutetocute
Copy link
Contributor

@cutetocute cutetocute commented Mar 22, 2026

PR 类型

DOCS

PR 范围

APIs

主要内容

修复 allclosepixel_shuffle API 中文文档中剩余的单反引号行内字面量问题。

这是 #7873 的后续 PR,根据审查意见修复之前恢复的两个 API 文档。

修改文件

  • docs/api/paddle/allclose_cn.rst
  • docs/api/paddle/nn/functional/pixel_shuffle_cn.rst

修复内容

将单反引号行内字面量改为双反引号:

  • TensorTensor
  • ClassClass
  • [N, C, H, W][N, C, H, W]

预览链接

待构建

@paddle-bot
Copy link

paddle-bot bot commented Mar 22, 2026

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7879.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@github-actions
Copy link

github-actions bot commented Mar 22, 2026

📚 本次 PR 文档预览链接(点击展开)
ℹ️ 预览提醒
请等待 Docs-NEW 流水线运行完成后再点击预览链接,否则可能会看到旧版本内容或遇到链接无法访问的情况。

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

该 PR 作为 #7873 的后续修复,继续清理中文 API 文档中 allclosepixel_shuffle 里残留的单反引号行内字面量,避免被 Sphinx 误解析为 role/链接,从而提升渲染一致性与规范性。

Changes:

  • pixel_shuffle 中文文档中的 Class、shape/维度符号等单反引号行内字面量替换为双反引号 ...
  • allclose 中文文档参数描述中 Tensor 的单反引号替换为双反引号 ...

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
docs/api/paddle/nn/functional/pixel_shuffle_cn.rst 修复 note/参数段落中残留的单反引号 inline literal 为 ...
docs/api/paddle/allclose_cn.rst 修复参数描述中 Tensor 的单反引号为 Tensor

@Echo-Nie Echo-Nie closed this Mar 23, 2026
@Echo-Nie Echo-Nie reopened this Mar 23, 2026
@ooooo-create ooooo-create added the HappyOpenSource 快乐开源活动issue与PR label Mar 24, 2026
@ooooo-create
Copy link
Collaborator

@luotao1 涛姐,这个 pr 没法过 CI,强合一下叭

@luotao1 luotao1 merged commit 2f464b3 into PaddlePaddle:develop Mar 24, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor HappyOpenSource 快乐开源活动issue与PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants