Skip to content

Commit 3a268d1

Browse files
Michael-F-Bryannikomatsakis
authored andcommitted
Added the mdbook-linkcheck backend
1 parent 28b7fab commit 3a268d1

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

book.toml

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

6+
[output.html]
7+
8+
[output.linkcheck]

src/high-level-overview.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The `rustc_driver` crate, at the top of this lattice, is effectively
4343
the "main" function for the rust compiler. It doesn't have much "real
4444
code", but instead ties together all of the code defined in the other
4545
crates and defines the overall flow of execution. (As we transition
46-
more and more to the [query model](ty/maps/README.md), however, the
46+
more and more to the [query model], however, the
4747
"flow" of compilation is becoming less centrally defined.)
4848

4949
At the other extreme, the `rustc` crate defines the common and
@@ -134,3 +134,5 @@ take:
134134
(one for each "codegen unit").
135135
6. **Linking**
136136
- Finally, those `.o` files are linked together.
137+
138+
[query model]: https://github.com/rust-lang/rust/blob/master/src/librustc/ty/maps/README.md

src/ty.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ is in fact a simple type alias for a reference with `'tcx` lifetime:
7878
pub type Ty<'tcx> = &'tcx TyS<'tcx>;
7979
```
8080

81-
[the HIR]: ../hir/README.md
81+
[the HIR]: https://github.com/rust-lang/rust/blob/master/src/librustc/hir/README.md
8282

8383
You can basically ignore the `TyS` struct -- you will basically never
8484
access it explicitly. We always pass it by reference using the

0 commit comments

Comments
 (0)