[Docs] Fix missing spaces between Chinese and English in device API docs#7790
Merged
Echo-Nie merged 1 commit intoPaddlePaddle:developfrom Feb 28, 2026
Conversation
Fix missing spaces between Chinese characters and English/ASCII text in 3 files: - device/cuda/Event_cn.rst: 'wait()函数' -> 'wait() 函数' - device/is_compiled_with_rocm_cn.rst: 'GPU(ROCm)上' -> 'GPU(ROCm) 上', 'GPU(ROCm)则' -> 'GPU(ROCm) 则' - device/get_rng_state_cn.rst: '_current_expected_place_()返回' -> '_current_expected_place_() 返回' Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7790.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
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.
Fix violations of the documentation standard requiring spaces between Chinese characters and English/ASCII text (including closing parentheses) in 3 device API documentation files.
Changes
docs/api/paddle/device/cuda/Event_cn.rst:wait()函数→wait() 函数docs/api/paddle/device/is_compiled_with_rocm_cn.rst:GPU(ROCm)上→GPU(ROCm) 上;GPU(ROCm)则→GPU(ROCm) 则docs/api/paddle/device/get_rng_state_cn.rst:_current_expected_place_()返回→_current_expected_place_() 返回Standard Reference
Per the documentation guidelines in
.github/copilot-instructions.md:All cases above had English/ASCII characters (closing parentheses of function calls) directly adjacent to Chinese characters without a space.