Merge pull request #2423 from radeksvarz/patch-1

added update how to
This commit is contained in:
Eric Huss 2024-08-11 12:51:44 +00:00 committed by GitHub
commit a15134cc2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,6 +30,9 @@ cargo install mdbook
This will automatically download mdBook from [crates.io], build it, and install it in Cargo's global binary directory (`~/.cargo/bin/` by default).
You can run `cargo install mdbook` again whenever you want to update to a new version.
That command will check if there is a newer version, and re-install mdBook if a newer version is found.
To uninstall, run the command `cargo uninstall mdbook`.
[Rust installation page]: https://www.rust-lang.org/tools/install
@ -47,6 +50,8 @@ cargo install --git https://github.com/rust-lang/mdBook.git mdbook
Again, make sure to add the Cargo bin directory to your `PATH`.
## Modifying and contributing
If you are interested in making modifications to mdBook itself, check out the [Contributing Guide] for more information.
[Contributing Guide]: https://github.com/rust-lang/mdBook/blob/master/CONTRIBUTING.md