ignore print.html

to avoid errors caused by bug rust-lang-nursery/mdBook#789
This commit is contained in:
Jorge Aparicio
2018-11-04 23:49:05 +01:00
parent e310669d0e
commit cf66108f20

View File

@@ -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