From 94baf19e6ae355b8143b2d3075a5e3dfd21ed63e Mon Sep 17 00:00:00 2001 From: Radek Date: Wed, 7 Aug 2024 12:01:19 +0200 Subject: [PATCH] added update how to Updating workflow is not clear for non rust users. --- guide/src/guide/installation.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/guide/src/guide/installation.md b/guide/src/guide/installation.md index 3fe9e12a..0fc03d7d 100644 --- a/guide/src/guide/installation.md +++ b/guide/src/guide/installation.md @@ -47,6 +47,18 @@ cargo install --git https://github.com/rust-lang/mdBook.git mdbook Again, make sure to add the Cargo bin directory to your `PATH`. + +### Updating mdbook from source + +```sh +cargo install mdbook +``` + +This will automatically download mdBook from [crates.io], build it, and re-install it in Cargo's global binary directory (`~/.cargo/bin/` by default). + + +## Own modifications 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