Skip to content

Commit 331171b

Browse files
committed
Hotfix for missing FontAwesome on mdBook 0.1.7
cc #416
1 parent 43a34ef commit 331171b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

deploy.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ cp -r assets/ book/
5454
echo "Committing book directory to gh-pages branch"
5555
REV=$(git rev-parse --short HEAD)
5656
cd book
57+
58+
# hotfix for https://github.com/rust-lang-nursery/rust-cookbook/issues/416
59+
sed -i -e "s/_FontAwesome/FontAwesome/" *.html
60+
mv ./_FontAwesome ./FontAwesome
61+
5762
git init
5863
git remote add upstream "https://$GH_TOKEN@github.com/rust-lang-nursery/rust-cookbook.git"
5964
git config user.name "Rust Cookbook"

0 commit comments

Comments
 (0)