Skip to content

Commit bae6475

Browse files
authored
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.
2 parents 255fde3 + 142764f commit bae6475

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/doc/rustc/book.toml

+3
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ authors = ["The Rust Project Developers"]
33
multilingual = false
44
src = "src"
55
title = "The rustc book"
6+
7+
[output.html]
8+
git-repository-url = "https://github.com/rust-lang/rust/tree/master/src/doc/rustc"

src/doc/rustdoc/book.toml

+3
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
authors = ["The Rust Project Developers"]
33
src = "src"
44
title = "The rustdoc book"
5+
6+
[output.html]
7+
git-repository-url = "https://github.com/rust-lang/rust/tree/master/src/doc/rustdoc"

0 commit comments

Comments
 (0)