about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorMichael Bryan <michaelfbryan@gmail.com>2018-01-27 14:30:07 +0800
committerNiko Matsakis <niko@alum.mit.edu>2018-01-31 14:13:09 -0500
commitb9ad5b05a419c99b7a4e744d2671a90f7d840d1a (patch)
treef8694d05514febd45cf2214b349d96fa99a7c5c9 /src/doc/rustc-dev-guide
parentb354719755519e40624ec3527c3dd58110933af2 (diff)
downloadrust-b9ad5b05a419c99b7a4e744d2671a90f7d840d1a.tar.gz
rust-b9ad5b05a419c99b7a4e744d2671a90f7d840d1a.zip
Added the mdbook-linkcheck backend
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/book.toml3
-rw-r--r--src/doc/rustc-dev-guide/src/high-level-overview.md4
-rw-r--r--src/doc/rustc-dev-guide/src/ty.md2
3 files changed, 7 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/book.toml b/src/doc/rustc-dev-guide/book.toml
index 485a12ca3bb..3c4c537e8b3 100644
--- a/src/doc/rustc-dev-guide/book.toml
+++ b/src/doc/rustc-dev-guide/book.toml
@@ -3,3 +3,6 @@ title = "Guide to Rustc Development"
 author = "Rustc developers"
 description = "A guide to developing rustc "
 
+[output.html]
+
+[output.linkcheck]
diff --git a/src/doc/rustc-dev-guide/src/high-level-overview.md b/src/doc/rustc-dev-guide/src/high-level-overview.md
index 55b596a2a9c..7da9b8ca19b 100644
--- a/src/doc/rustc-dev-guide/src/high-level-overview.md
+++ b/src/doc/rustc-dev-guide/src/high-level-overview.md
@@ -43,7 +43,7 @@ The `rustc_driver` crate, at the top of this lattice, is effectively
 the "main" function for the rust compiler. It doesn't have much "real
 code", but instead ties together all of the code defined in the other
 crates and defines the overall flow of execution. (As we transition
-more and more to the [query model](ty/maps/README.md), however, the
+more and more to the [query model], however, the
 "flow" of compilation is becoming less centrally defined.)
 
 At the other extreme, the `rustc` crate defines the common and
@@ -134,3 +134,5 @@ take:
       (one for each "codegen unit").
 6. **Linking**
     - Finally, those `.o` files are linked together.
+
+[query model]: https://github.com/rust-lang/rust/blob/master/src/librustc/ty/maps/README.md
diff --git a/src/doc/rustc-dev-guide/src/ty.md b/src/doc/rustc-dev-guide/src/ty.md
index 8debb71c788..906e99e7135 100644
--- a/src/doc/rustc-dev-guide/src/ty.md
+++ b/src/doc/rustc-dev-guide/src/ty.md
@@ -78,7 +78,7 @@ is in fact a simple type alias for a reference with `'tcx` lifetime:
 pub type Ty<'tcx> = &'tcx TyS<'tcx>;
 ```
 
-[the HIR]: ../hir/README.md
+[the HIR]: https://github.com/rust-lang/rust/blob/master/src/librustc/hir/README.md
 
 You can basically ignore the `TyS` struct -- you will basically never
 access it explicitly. We always pass it by reference using the