Update to mdbook 0.2.1 (#482)

This commit is contained in:
James Hinshelwood 2018-10-10 17:13:29 +01:00 committed by Andrew Gauger
parent 45b2243cf1
commit fbcaca6c05
6 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@ cd rust-cookbook
Cookbook is built with [mdBook], so install that first with Cargo: Cookbook is built with [mdBook], so install that first with Cargo:
``` ```
cargo install --version 0.1.8 mdbook cargo install mdbook --vers "0.2.1"
``` ```
To build and view the cookbook locally, run: To build and view the cookbook locally, run:

View file

@ -21,7 +21,7 @@ If you'd like to read it locally:
```bash ```bash
$ git clone https://github.com/rust-lang-nursery/rust-cookbook $ git clone https://github.com/rust-lang-nursery/rust-cookbook
$ cd rust-cookbook $ cd rust-cookbook
$ cargo install mdbook --vers "0.1.8" $ cargo install mdbook --vers "0.2.1"
$ mdbook serve --open $ mdbook serve --open
``` ```

View file

@ -9,7 +9,7 @@ src = "src"
[output.html] [output.html]
mathjax-support = false mathjax-support = false
theme = "theme" theme = "theme"
additional-css = ["theme/custom.css"] additional-css = ["src/theme/custom.css"]
[output.html.playpen] [output.html.playpen]
editable = false editable = false

View file

@ -18,7 +18,7 @@ if [[ "${CONTENT_TESTS:-}" == 1 ]]; then
pyenv local 3.6.0 pyenv local 3.6.0
pip3 install --user link-checker==0.1.0 pip3 install --user link-checker==0.1.0
fi fi
cargo install mdbook --vers '0.1.8' --debug cargo install mdbook --vers '0.2.1' --debug
fi fi
exit 0 exit 0