Skip to content

Commit

Permalink
Rollup merge of #80393 - ehuss:doc-git-link, r=jyn514
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
m-ou-se authored Dec 28, 2020
2 parents 255fde3 + 142764f commit bae6475
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/doc/rustc/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
3 changes: 3 additions & 0 deletions src/doc/rustdoc/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit bae6475

Please sign in to comment.