Skip to content

Commit 73f6cdf

Browse files
committed
remove all the hacks, add some improvements
1 parent 694d870 commit 73f6cdf

File tree

4 files changed

+6
-15
lines changed

4 files changed

+6
-15
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ rust:
44
cache:
55
- cargo
66
- directories:
7-
- $HOME/linkcheck/
7+
- book/linkcheck/
88
before_install:
99
- shopt -s globstar
1010
- MAX_LINE_LENGTH=100 bash ci/check_line_lengths.sh src/**/*.md
1111
install:
1212
- source ~/.cargo/env || true
1313
- bash -x ci/install.sh
1414
script:
15-
- bash -x ci/build.sh
15+
- mdbook build
1616
- mdbook test
1717
notifications:
1818
email:

book.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ create-missing = false
1111
[output.html.search]
1212

1313
[output.linkcheck]
14-
command = "sed 's/.*//'" # tell mdbook not to run, since we want to run it manually
1514
follow-web-links = true
1615
exclude = [ "crates\\.io", "gcc\\.godbolt\\.org", "youtube\\.com", "dl\\.acm\\.org" ]
16+
cache-timeout = 172800
17+
warning-policy = "error"

ci/build.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

ci/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ function cargo_install() {
2020
fi
2121
}
2222

23-
cargo_install mdbook 0.3.1
24-
cargo_install mdbook-linkcheck 0.4.0
23+
cargo_install mdbook 0.3.4
24+
cargo_install mdbook-linkcheck 0.5.0

0 commit comments

Comments
 (0)