Skip to content

Commit

Permalink
Add simple script to build book, then remove links to Google APIs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivilata committed Apr 24, 2020
1 parent 850d89b commit dfb3818
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions user-manual/en/build.sh
@@ -0,0 +1,5 @@
#!/bin/sh
set -e
mdbook build
# [Remove Google surveillance](https://github.com/rust-lang/mdBook/issues/847).
find book -name '*.html' | xargs sed -i '/<link href="[^"]*\bfonts\.googleapis\.com\b/d'

0 comments on commit dfb3818

Please sign in to comment.