Skip to content

Commit 941968d

Browse files
committed
hack + drive-by-fix
1 parent 1952189 commit 941968d

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ rust:
44
cache:
55
- cargo
66
- directories:
7-
- book/linkcheck/
7+
- $HOME/linkcheck/
88
before_install:
99
- shopt -s globstar
1010
- MAX_LINE_LENGTH=100 bash ci/check_line_lengths.sh src/**/*.md

book.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ title = "Guide to Rustc Development"
33
author = "Rustc developers"
44
description = "A guide to developing rustc"
55

6+
[build]
7+
create-missing = false
8+
69
[output.html]
710

811
[output.html.search]
912

1013
[output.linkcheck]
14+
command = "sed 's/.*//'" # tell mdbook not to run, since we want to run it manually
1115
follow-web-links = true
1216
exclude = [ "crates\\.io", "gcc\\.godbolt\\.org", "youtube\\.com", "dl\\.acm\\.org" ]

ci/build-ignore-timeouts.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22

33
output=$(mktemp)
44

5-
RUST_LOG=mdbook_linkcheck=debug mdbook build 2>&1 | tee $output
5+
mkdir -p book/
6+
cp -r $HOME/linkcheck/ book/
7+
RUST_LOG=mdbook_linkcheck=debug mdbook-linkcheck -s 2>&1 | tee -a $output
8+
cp -r book/linkcheck $HOME/
9+
10+
mdbook build
611

712
result=${PIPESTATUS[0]}
813

src/SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
- [Type checking](./type-checking.md)
6666
- [Method Lookup](./method-lookup.md)
6767
- [Variance](./variance.md)
68-
- [Existential Types](./existential-types.md)
68+
- [Opaque Types](./opaque-types-type-alias-impl-trait.md)
6969
- [The MIR (Mid-level IR)](./mir/index.md)
7070
- [MIR construction](./mir/construction.md)
7171
- [MIR visitor and traversal](./mir/visitor.md)

0 commit comments

Comments
 (0)