mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-04 18:19:27 +00:00
added update how to
Updating workflow is not clear for non rust users.
This commit is contained in:
parent
ec996d3509
commit
94baf19e6a
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue