mirror of
https://github.com/rust-lang-nursery/rust-cookbook
synced 2024-11-21 19:13:07 +00:00
Hotfix for missing FontAwesome on mdBook 0.1.7
cc https://github.com/rust-lang-nursery/rust-cookbook/issues/416
This commit is contained in:
parent
43a34ef1cb
commit
331171bfbb
1 changed files with 5 additions and 0 deletions
|
@ -54,6 +54,11 @@ cp -r assets/ book/
|
|||
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"
|
||||
|
|
Loading…
Reference in a new issue