[Docs] Fix typos and English punctuation in Chinese API docs#7795
Merged
SigureMo merged 1 commit intoPaddlePaddle:developfrom Feb 28, 2026
Conversation
- Fix typo 'QueueyDataset' -> 'QueueDataset' in QueueDataset_cn.rst - Fix class name 'InmemoryDataset' -> 'InMemoryDataset' in QueueDataset_cn.rst - Replace English comma with Chinese comma in to_static_cn.rst (line 8) - Replace English comma with Chinese comma in frexp_cn.rst (line 9) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7795.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
Contributor
There was a problem hiding this comment.
Pull request overview
该 PR 针对飞桨 PaddlePaddle 中文 API 文档做了合规性修复,主要解决自动化检查发现的拼写错误与中文标点使用不规范问题,以保证 API 名称一致性与中文行文规范。
Changes:
- 修正
QueueDataset_cn.rst中的类名拼写/大小写错误(QueueyDataset→QueueDataset,InmemoryDataset→InMemoryDataset) - 修正
to_static_cn.rst与frexp_cn.rst中文描述中的英文逗号为中文逗号(,→,)
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| docs/api/paddle/distributed/QueueDataset_cn.rst | 修正文档中类名拼写与大小写,保证与实际 API 名称一致。 |
| docs/api/paddle/distributed/to_static_cn.rst | 将中文段落中的英文逗号替换为中文逗号,符合中文标点规范。 |
| docs/api/paddle/frexp_cn.rst | 将中文段落中的英文逗号替换为中文逗号,符合中文标点规范。 |
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 compliance issues in 3 API doc files found during automated documentation standards check.
Changes
1.
docs/api/paddle/distributed/QueueDataset_cn.rstQueueyDataset→QueueDataset(class name misspelling)InmemoryDataset→InMemoryDataset(incorrect capitalization)2.
docs/api/paddle/distributed/to_static_cn.rst,with Chinese comma,in Chinese prose (line 8)3.
docs/api/paddle/frexp_cn.rst,with Chinese comma,in Chinese prose (line 9)Standards Reference
Per the documentation standards: