diff --git a/README.md b/README.md index dd7b3d3..02dd29a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Quickly Explore The Rust Toolbox -- The guide to accompany this repository, is now hosted on Gitlab Pages: [https://canardleteer.github.io/quickly-explore-rs/](https://canardleteer.github.io/quickly-explore-rs/) +- The guide to accompany this repository, is now hosted on Gitlab Pages: + - [https://canardleteer.github.io/quickly-explore-rs/](https://canardleteer.github.io/quickly-explore-rs/) - Assuming you have `mdbook` installed, you can view it locally via: diff --git a/book/src/09-00-tools.md b/book/src/09-00-tools.md index b716da3..5af991a 100644 --- a/book/src/09-00-tools.md +++ b/book/src/09-00-tools.md @@ -5,8 +5,22 @@ - `cargo install mdbook` - [repo](https://github.com/rust-lang/mdBook) +## Use `rg` after install + +```shell +rg "# Install Some Useful Tools" . +``` + +And it should find the Markdown source for this chapter. + +## Use `mdbook` after install + To locally view this book: ```shell mdbook serve book ``` + +And it would then be serving at: + +- [http://127.0.0.1:3000](http://127.0.0.1:3000) \ No newline at end of file diff --git a/book/src/10-01-cargo-add.md b/book/src/10-01-cargo-add.md index 4607b48..8769953 100644 --- a/book/src/10-01-cargo-add.md +++ b/book/src/10-01-cargo-add.md @@ -2,7 +2,9 @@ First, let's add the extremely useful `clap` library to our `Cargo.toml`. Start by checking out the [crate page](https://crates.io/crates/clap). -I am pinning the version, to `4.4.11`, and adding 2 Features: `derive` and `env`. "Features" are important to know about, but I'm not going to cover them here. You can [read up on them](https://doc.rust-lang.org/cargo/reference/features.html). +I am pinning the version, to `4.4.11`, and adding 2 Features: `derive` and `env`. + +- "Features" for crates are important to know about, but I'm not going to cover them here. You can [read up on them](https://doc.rust-lang.org/cargo/reference/features.html). ```shell -> cargo add clap@4.4.11 --features derive,env