Skip to content

Commit 94baf19

Browse files
authored
added update how to
Updating workflow is not clear for non rust users.
1 parent ec996d3 commit 94baf19

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

guide/src/guide/installation.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,18 @@ cargo install --git https://github.com/rust-lang/mdBook.git mdbook
4747

4848
Again, make sure to add the Cargo bin directory to your `PATH`.
4949

50+
51+
### Updating mdbook from source
52+
53+
```sh
54+
cargo install mdbook
55+
```
56+
57+
This will automatically download mdBook from [crates.io], build it, and re-install it in Cargo's global binary directory (`~/.cargo/bin/` by default).
58+
59+
60+
## Own modifications and contributing
61+
5062
If you are interested in making modifications to mdBook itself, check out the [Contributing Guide] for more information.
5163

5264
[Contributing Guide]: https://github.com/rust-lang/mdBook/blob/master/CONTRIBUTING.md

0 commit comments

Comments
 (0)