-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Batch fix doc issues in tiup docs #6042
Conversation
/lgtm |
tiup/tiup-command-mirror-modify.md
Outdated
### --standalone | ||
|
||
该组件是否可独立运行。本参数目前尚未启用。 | ||
- 该组件是否可独立运行。本参数目前尚未启用。 | ||
- 数据类型:`BOOLEAN` | ||
- 该选项默认关闭,默认值为 `false`。在命令中添加该选项,并传入 `true` 值或不传值,均可开启此功能。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lucklove, 请问如果此参数尚未启用,对用户就没有什么意义,所以暂时不需要提前放到用户文档里?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以的
tiup/tiup-command-mirror-publish.md
Outdated
### --standalone | ||
|
||
该组件是否可独立运行。该参数目前尚未启用。 | ||
- 该组件是否可独立运行。该参数目前尚未启用。 | ||
- 数据类型:`BOOLEAN` | ||
- 该选项默认关闭,默认值为 `false`。在命令中添加该选项,并传入 `true` 值或不传值,均可开启此功能。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lucklove , 请问如果此参数尚未启用,对用户就没有什么意义,所以暂时不需要提前放到用户文档里?
在组件二进制文件部署之后,会对 TiDB,TiKV 和 PD 组件执行配置检查,检查方式为 `<binary> --config-check <config-file>`,其中 `<bianry>` 为部署的二进制文件的路径,`<config-file>` 为根据用户配置生成的配置文件。 | ||
- 在组件二进制文件部署之后,会对 TiDB,TiKV 和 PD 组件执行配置检查,检查方式为 `<binary> --config-check <config-file>`,其中 `<binary>` 为部署的二进制文件的路径,`<config-file>` 为根据用户配置生成的配置文件。 | ||
- 数据类型:`BOOLEAN` | ||
- 该选项默认关闭,默认值为 `false`。在命令中添加该选项,并传入 `true` 值或不传值,均可开启此功能。 | ||
|
||
如果想要跳过该项检查,可以使用该选项。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果把这句话挪到第一个item 后面, 是否也可以呢?
“如果想要跳过该项检查,可以使用该选项。”
在某些情况下,有可能集群中的某些节点已经宕机,导致无法通过 SSH 连接到节点进行操作,这个时候可以通过 `--force` 选项忽略这些错误。 | ||
- 在某些情况下,有可能集群中的某些节点已经宕机,导致无法通过 SSH 连接到节点进行操作,这个时候可以通过 `--force` 选项忽略这些错误。 | ||
- 数据类型:`BOOLEAN` | ||
- 该选项默认关闭,默认值为 `false`。在命令中添加该选项,并传入 `true` 值或不传值,均可开启此功能。 | ||
|
||
### --retain-node-data(StringArray,默认为空) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the info here about the data type and default value be updated to an unordered list too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are hundreds of similar modifications to make in the TiUP docs and the workload can be huge. This PR only updates/refines a part of them. Other unrefined titles will be refined in upcoming PRs.
该选项开启日志清理,若不指定该选项,也不指定 `--all`,则不清理日志。 | ||
- 该选项开启日志清理,若不指定该选项,也不指定 `--all`,则不清理日志。 | ||
- 数据类型:`BOOLEAN` | ||
- 该选项默认关闭,默认值为 `false`。在命令中添加该选项,并传入 `true` 值或不传值,均可开启此功能。 | ||
|
||
### --ignore-node(StringArray,默认为空) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the info here about the data type and default value be updated to an unordered list too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are hundreds of similar modifications to make in the TiUP docs and the workload can be huge. This PR only updates/refines a part of them. Other unrefined titles will be refined in upcoming PRs.
Co-authored-by: Grace Cai <qqzczy@126.com>
@qiancai: In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/lgtm |
@qiancai: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by writing |
/label require-LGT1 |
/remove-translation no-need |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: da0123d
|
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-4.0 in PR #6165 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.0 in PR #6166 |
What is changed, added or deleted? (Required)
Batch fix typos in tiup docs
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?