mirror of
https://github.com/nkbai/book.git
synced 2026-09-03 13:12:46 +08:00
ignore print.html
to avoid errors caused by bug rust-lang-nursery/mdBook#789
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user