mirror of
https://github.com/rust-lang-nursery/rust-cookbook
synced 2024-11-10 06:04:20 +00:00
Update to mdbook 0.2.1 (#482)
This commit is contained in:
parent
45b2243cf1
commit
fbcaca6c05
6 changed files with 4 additions and 4 deletions
|
@ -20,7 +20,7 @@ cd rust-cookbook
|
|||
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:
|
||||
|
|
|
@ -21,7 +21,7 @@ If you'd like to read it locally:
|
|||
```bash
|
||||
$ git clone https://github.com/rust-lang-nursery/rust-cookbook
|
||||
$ cd rust-cookbook
|
||||
$ cargo install mdbook --vers "0.1.8"
|
||||
$ cargo install mdbook --vers "0.2.1"
|
||||
$ mdbook serve --open
|
||||
```
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ src = "src"
|
|||
[output.html]
|
||||
mathjax-support = false
|
||||
theme = "theme"
|
||||
additional-css = ["theme/custom.css"]
|
||||
additional-css = ["src/theme/custom.css"]
|
||||
|
||||
[output.html.playpen]
|
||||
editable = false
|
||||
|
|
|
@ -18,7 +18,7 @@ if [[ "${CONTENT_TESTS:-}" == 1 ]]; then
|
|||
pyenv local 3.6.0
|
||||
pip3 install --user link-checker==0.1.0
|
||||
fi
|
||||
cargo install mdbook --vers '0.1.8' --debug
|
||||
cargo install mdbook --vers '0.2.1' --debug
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue