From 9fefa98ddd8bd701185bda266455874d53568697 Mon Sep 17 00:00:00 2001 From: Paul Houghton Date: Wed, 27 Dec 2017 21:10:11 +0200 Subject: [PATCH] Added local mdbook instructions to README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 8d509e8..f2c79dc 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,18 @@ using the crates of the Rust ecosystem. These examples are complete, and suitable for copying directly into 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 +[install Rust]: https://www.rustup.rs ## Contributing