Added local mdbook instructions to README.md

This commit is contained in:
Paul Houghton 2017-12-27 21:10:11 +02:00 committed by Michał Budzyński
parent 5da134d5d1
commit 9fefa98ddd

View file

@ -14,7 +14,18 @@ using the crates of the Rust ecosystem.
These examples are complete, and suitable for copying directly into These examples are complete, and suitable for copying directly into
new cargo projects. They are tested and guaranteed to work. new cargo projects. They are tested and guaranteed to work.
If you'd like to read it locally, [install Rust], and then:
```bash
$ git clone https://github.com/rust-lang-nursery/rust-cookbook
$ cd rust-cookbook
$ cargo install mdbook
$ mdbook build
$ mdbook serve
```
[Read it here]: https://rust-lang-nursery.github.io/rust-cookbook [Read it here]: https://rust-lang-nursery.github.io/rust-cookbook
[install Rust]: https://www.rustup.rs
## Contributing ## Contributing