[Docs] Fix English periods to Chinese periods in Chinese API docs#7813
Closed
ooooo-create wants to merge 1 commit intoPaddlePaddle:developfrom
Closed
Conversation
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>
Closed
1 task
|
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7813.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
ooooo-create
commented
Mar 1, 2026
| .. note:: | ||
| ``paddle.logical_and`` 遵守 broadcasting,如您想了解更多,请参见 `Tensor 介绍`_ . | ||
| ``paddle.logical_and`` 遵守 broadcasting,如您想了解更多,请参见 `Tensor 介绍`_。 | ||
|
|
Contributor
There was a problem hiding this comment.
Pull request overview
该 PR 针对 PaddlePaddle 中文 API 文档中句末误用英文句号(.)的问题进行规范化修复,确保符合仓库中文文档标点规范(使用中文句号 。)。
Changes:
- 修复
is_floating_point返回值描述句末标点:False.→False。 - 修复
logical_and与logical_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 中链接引用后的英文句号替换为中文句号 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: ChangedFalse.→False。in the return value descriptiondocs/api/paddle/logical_and_cn.rst: ChangedTensor 介绍_ .→Tensor 介绍_。in the note about broadcastingdocs/api/paddle/logical_or_cn.rst: ChangedTensor 介绍_ .→Tensor 介绍_。in the note about broadcastingType of Change