add new chinese translations
This commit is contained in:
@@ -1,33 +1,33 @@
|
||||
# cargo rustdoc
|
||||
|
||||
> 构建 Rust 包的文档。
|
||||
> 类似于 `cargo doc`,但您可以向 `rustdoc` 传递选项。查看 `rustdoc --help` 获取所有可用选项。
|
||||
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-rustdoc.html>.
|
||||
> 类似于 `cargo doc`,但您可以传递选项给 `rustdoc`。有关所有可用选项,请参见 `rustdoc --help`。
|
||||
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-rustdoc.html>。
|
||||
|
||||
- 向 `rustdoc` 传递选项:
|
||||
- 传递选项给 `rustdoc`:
|
||||
|
||||
`cargo rustdoc -- {{rustdoc_options}}`
|
||||
|
||||
- 关于文档 lint 发出警告:
|
||||
- 对文档 lint 发出警告:
|
||||
|
||||
`cargo rustdoc -- --warn rustdoc::{{lint_name}}`
|
||||
|
||||
- 忽略文档 lint:
|
||||
- 忽略文档 lint:
|
||||
|
||||
`cargo rustdoc -- --allow rustdoc::{{lint_name}}`
|
||||
|
||||
- 为包的库生成文档:
|
||||
- 文档包的库:
|
||||
|
||||
`cargo rustdoc --lib`
|
||||
|
||||
- 为指定的二进制文件生成文档:
|
||||
- 文档指定的二进制文件:
|
||||
|
||||
`cargo rustdoc --bin {{名称}}`
|
||||
`cargo rustdoc --bin {{name}}`
|
||||
|
||||
- 为指定的示例生成文档:
|
||||
- 文档指定的示例:
|
||||
|
||||
`cargo rustdoc --example {{名称}}`
|
||||
`cargo rustdoc --example {{name}}`
|
||||
|
||||
- 为指定的集成测试生成文档:
|
||||
- 文档指定的集成测试:
|
||||
|
||||
`cargo rustdoc --test {{名称}}`
|
||||
`cargo rustdoc --test {{name}}`
|
Reference in New Issue
Block a user