Skip to content

Commit

Permalink
ignore print.html
Browse files Browse the repository at this point in the history
to avoid errors caused by bug rust-lang/mdBook#789
  • Loading branch information
japaric committed Nov 4, 2018
1 parent e310669 commit cf66108
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ set -euxo pipefail
main() {
mdbook build

linkchecker book
# FIXME(rust-lang-nursery/mdbook#789) remove `--ignore-url` when that bug is fixed
linkchecker --ignore-url "print.html" book

# now check this as a directory of the bookshelf
rm -rf shelf
mkdir shelf
mv book shelf
linkchecker shelf
# FIXME(rust-lang-nursery/mdbook#789) remove `--ignore-url` when that bug is fixed
linkchecker --ignore-url "print.html" shelf

mv shelf/book .
rmdir shelf
Expand Down

0 comments on commit cf66108

Please sign in to comment.