about summary refs log tree commit diff
path: root/src/doc/rustc
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2020-12-28 19:09:22 +0000
committerGitHub <noreply@github.com>2020-12-28 19:09:22 +0000
commitbae6475443ff7ebc54e438cfa827ce7107a8b2c1 (patch)
tree9cfd569222dc33b866b296d1e1b0cd2496d0db0f /src/doc/rustc
parent255fde3f464ffc07c8049793afc1b1105b7194a5 (diff)
parent142764f79e847fe5d6cc1fdb4b3dce9949648db4 (diff)
downloadrust-bae6475443ff7ebc54e438cfa827ce7107a8b2c1.tar.gz
rust-bae6475443ff7ebc54e438cfa827ce7107a8b2c1.zip
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.
Diffstat (limited to 'src/doc/rustc')
-rw-r--r--src/doc/rustc/book.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/doc/rustc/book.toml b/src/doc/rustc/book.toml
index 8adc05c5137..21d127c39c9 100644
--- a/src/doc/rustc/book.toml
+++ b/src/doc/rustc/book.toml
@@ -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"