mirror of
https://github.com/rust-lang-nursery/rust-cookbook
synced 2024-11-22 03:23:05 +00:00
mdBook 0.1.8
This commit is contained in:
parent
47dd9fe17e
commit
82e7fde4b7
3 changed files with 2 additions and 7 deletions
|
@ -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.7"
|
||||
$ cargo install mdbook --vers "0.1.8"
|
||||
$ mdbook serve --open
|
||||
```
|
||||
|
||||
|
|
|
@ -63,10 +63,6 @@ echo "Committing book directory to gh-pages branch"
|
|||
REV=$(git rev-parse --short HEAD)
|
||||
cd book
|
||||
|
||||
# hotfix for https://github.com/rust-lang-nursery/rust-cookbook/issues/416
|
||||
sed -i -e "s/_FontAwesome/FontAwesome/" *.html
|
||||
mv ./_FontAwesome ./FontAwesome
|
||||
|
||||
git init
|
||||
git remote add upstream "https://$GH_TOKEN@github.com/rust-lang-nursery/rust-cookbook.git"
|
||||
git config user.name "Rust Cookbook"
|
||||
|
|
|
@ -16,8 +16,7 @@ if [[ "${CONTENT_TESTS:-}" == 1 ]]; then
|
|||
pyenv global system 3.6
|
||||
pip3 install --user link-checker==0.1.0
|
||||
fi
|
||||
cargo install mdbook --vers '0.1.7' --debug
|
||||
cargo install mdbook --vers '0.1.8' --debug
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
|
|
Loading…
Reference in a new issue