Skip to content

Commit fd39178

Browse files
Noai-ossCopilot
authored andcommitted
Fix Chinese punctuation compliance in paddle.hub API docs
Replace English colons with Chinese colons in default value descriptions in hub API documentation files. Also fix missing space after parameter type in load_cn.rst. Affected files: - docs/api/paddle/hub/help_cn.rst: 默认值: False -> 默认值:False - docs/api/paddle/hub/list_cn.rst: 默认值: False -> 默认值:False - docs/api/paddle/hub/load_cn.rst: 默认值: False -> 默认值:False, fix missing space in model param Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 25412ad commit fd39178

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/api/paddle/hub/help_cn.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ help
1515
- **repo_dir** (str) - repo 地址,支持 git 地址形式和 local 地址。git 地址由 repo 拥有者/repo 名字:repo 分支组成,实例:PaddlePaddle/PaddleClas:develop;local 地址为 repo 的本地路径。
1616
- **model** (str) - 模型的名字。
1717
- **source** (str,可选) - 指定 repo 托管的位置,支持 github、gitee 和 local,默认值:github。
18-
- **force_reload** (bool,可选) - 指定是否强制拉取,默认值: False。
18+
- **force_reload** (bool,可选) - 指定是否强制拉取,默认值False。
1919

2020
返回
2121
:::::::::

docs/api/paddle/hub/list_cn.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ list
1414

1515
- **repo_dir** (str) - repo 地址,支持 git 地址形式和 local 地址。git 地址由 repo 拥有者/repo 名字:repo 分支组成,实例:PaddlePaddle/PaddleClas:develop;local 地址为 repo 的本地路径。
1616
- **source** (str,可选) - 指定 repo 托管的位置,支持 github、gitee 和 local,默认值:github。
17-
- **force_reload** (bool,可选) - 指定是否强制拉取,默认值: False。
17+
- **force_reload** (bool,可选) - 指定是否强制拉取,默认值False。
1818

1919

2020
返回

docs/api/paddle/hub/load_cn.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ load
1212
:::::::::
1313

1414
- **repo_dir** (str) - repo 地址,支持 git 地址形式和 local 地址。git 地址由 repo 拥有者/repo 名字:repo 分支组成,实例:PaddlePaddle/PaddleClas:develop;local 地址为 repo 的本地路径。
15-
- **model** (str)- 模型的名字。
15+
- **model** (str) - 模型的名字。
1616
- **source** (str,可选) - 指定 repo 托管的位置,支持 github、gitee 和 local,默认值:github。
17-
- **force_reload** (bool,可选) - 指定是否强制拉取,默认值: False。
17+
- **force_reload** (bool,可选) - 指定是否强制拉取,默认值False。
1818
- **\*\*kwargs** (any,可选) - 模型参数。
1919

2020
返回

0 commit comments

Comments
 (0)