Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

25
tldr/cargo-doc Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# cargo doc
> Build the documentation of Rust packages.
> More information: <https://doc.rust-lang.org/cargo/commands/cargo-doc.html>.
- Build the documentation for the current project and all dependencies:
`cargo doc`
- Do not build documentation for dependencies:
`cargo doc --no-deps`
- Build and open the documentation in a browser:
`cargo doc --open`
- Build and view the documentation of a particular package:
`cargo doc --open --package {{package}}`