Skip to content

[Docs] Fix English periods to Chinese periods in Chinese API docs#7813

Closed
ooooo-create wants to merge 1 commit intoPaddlePaddle:developfrom
StatefulDust:fix/api-docs-punctuation-20260228-155634-8a2b0f0bbfe567eb
Closed

[Docs] Fix English periods to Chinese periods in Chinese API docs#7813
ooooo-create wants to merge 1 commit intoPaddlePaddle:developfrom
StatefulDust:fix/api-docs-punctuation-20260228-155634-8a2b0f0bbfe567eb

Conversation

@ooooo-create
Copy link
Collaborator

Summary

Fixed documentation standard violations where English periods (.) were used at the end of Chinese sentences instead of Chinese periods ().

According to the documentation standards in .github/copilot-instructions.md:

中文文档中尽量避免使用英文标点符号,如逗号、句号、引号等,均应使用中文标点符号

Changes

  • docs/api/paddle/is_floating_point_cn.rst: Changed False.False。 in the return value description
  • docs/api/paddle/logical_and_cn.rst: Changed Tensor 介绍_ .Tensor 介绍_。 in the note about broadcasting
  • docs/api/paddle/logical_or_cn.rst: Changed Tensor 介绍_ .Tensor 介绍_。 in the note about broadcasting

Type of Change

  • Documentation fix (non-breaking change which fixes documentation)

Generated by API Docs Checker


🔄 Synced from StatefulDust#22

Replace English period '.' with Chinese period '。' at the end of Chinese sentences
in three API documentation files:
- docs/api/paddle/is_floating_point_cn.rst
- docs/api/paddle/logical_and_cn.rst
- docs/api/paddle/logical_or_cn.rst

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@paddle-bot
Copy link

paddle-bot bot commented Mar 1, 2026

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

@github-actions
Copy link

github-actions bot commented Mar 1, 2026

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

.. note::
``paddle.logical_and`` 遵守 broadcasting,如您想了解更多,请参见 `Tensor 介绍`_ .
``paddle.logical_and`` 遵守 broadcasting,如您想了解更多,请参见 `Tensor 介绍`_

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

预览康康

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 针对 PaddlePaddle 中文 API 文档中句末误用英文句号(.)的问题进行规范化修复,确保符合仓库中文文档标点规范(使用中文句号 )。

Changes:

  • 修复 is_floating_point 返回值描述句末标点:False.False。
  • 修复 logical_andlogical_or 的 note 中引用链接后句末标点:..._ ...._。

Reviewed changes

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

File Description
docs/api/paddle/is_floating_point_cn.rst 将中文句末英文句号替换为中文句号,符合中文文档标点规范
docs/api/paddle/logical_and_cn.rst 将 note 中链接引用后的英文句号替换为中文句号
docs/api/paddle/logical_or_cn.rst 将 note 中链接引用后的英文句号替换为中文句号

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants