Skip to content

[Docs] Fix missing spaces between Chinese and English in device API docs#7790

Merged
Echo-Nie merged 1 commit intoPaddlePaddle:developfrom
StatefulDust:fix/cn-en-spacing-20260228-072255-9ef8d7751bbb3145
Feb 28, 2026
Merged

[Docs] Fix missing spaces between Chinese and English in device API docs#7790
Echo-Nie merged 1 commit intoPaddlePaddle:developfrom
StatefulDust:fix/cn-en-spacing-20260228-072255-9ef8d7751bbb3145

Conversation

@ooooo-create
Copy link
Collaborator

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.

Generated by API Docs Checker


🔄 Synced from https://github.com/StatefulDust/paddle-docs-agent/pull/6

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>
@github-actions
Copy link

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

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.

Copilot wasn't able to review any files in this pull request.

@paddle-bot
Copy link

paddle-bot bot commented Feb 28, 2026

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

Copy link
Collaborator

@Echo-Nie Echo-Nie left a comment

Choose a reason for hiding this comment

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

LGTM🤖

@Echo-Nie Echo-Nie merged commit d293227 into PaddlePaddle:develop Feb 28, 2026
9 checks passed
@ooooo-create ooooo-create added the HappyOpenSource 快乐开源活动issue与PR label Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HappyOpenSource 快乐开源活动issue与PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants