tldr/pages.zh/common/cargo-doc.md
Beriholic 33770df77d
cargo*: add Chinese translation (#12312)
* cargo-*: add Chinese translation

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-03-14 10:25:45 +05:30

385 B

cargo doc

构建 Rust 包的文档。 更多信息:https://doc.rust-lang.org/cargo/commands/cargo-doc.html.

  • 为当前项目及所有依赖项构建文档:

cargo doc

  • 不为依赖项构建文档:

cargo doc --no-deps

  • 构建并在浏览器中打开文档:

cargo doc --open

  • 构建并查看特定包的文档:

cargo doc --open --package {{包名}}