Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove exception for print.html #255

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ main() {
# test that building the book works
mdbook build

# mdbook doesn't handle relative links correctly in print.html so skip it.
linkchecker --ignore-url "print.html" book
linkchecker book

# now check this as a directory of the bookshelf
rm -rf shelf
mkdir shelf
mv book shelf
# Skipping bad relative link errors in print.html again here.
linkchecker --ignore-url "print.html" shelf
linkchecker shelf

mv shelf/book .
rmdir shelf
Expand Down Expand Up @@ -64,6 +62,6 @@ main() {
done
}

if [ $TRAVIS_BRANCH != master ]; then
if [ $TRAVIS_BRANCH != master ] || [ $TRAVIS_PULL_REQUEST != false ]; then
main
fi