Rollup merge of #80393 - ehuss:doc-git-link, r=jyn514

Add links to the source for the rustc and rustdoc books.

This adds a little icon in the upper-right corner of the books so that readers can find the source if they want to make changes or file issues. This is already included in several of the other books.
This commit is contained in:
Mara Bos 2020-12-28 19:09:22 +00:00 committed by GitHub
commit bae6475443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -3,3 +3,6 @@ authors = ["The Rust Project Developers"]
multilingual = false
src = "src"
title = "The rustc book"
[output.html]
git-repository-url = "https://github.com/rust-lang/rust/tree/master/src/doc/rustc"

View File

@ -2,3 +2,6 @@
authors = ["The Rust Project Developers"]
src = "src"
title = "The rustdoc book"
[output.html]
git-repository-url = "https://github.com/rust-lang/rust/tree/master/src/doc/rustdoc"