Fixed edit-url-template by pointing to main instead of HEAD in both unstable book and the rustc book

This commit is contained in:
vsriram 2026-01-03 12:58:36 +05:30
parent e8f3cfc0de
commit d79fa3ca3d
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ title = "The rustc book"
[output.html]
git-repository-url = "https://github.com/rust-lang/rust/tree/HEAD/src/doc/rustc"
edit-url-template = "https://github.com/rust-lang/rust/edit/HEAD/src/doc/rustc/{path}"
edit-url-template = "https://github.com/rust-lang/rust/edit/main/src/doc/rustc/{path}"
[output.html.search]
use-boolean-and = true

View file

@ -3,4 +3,4 @@ title = "The Rust Unstable Book"
[output.html]
git-repository-url = "https://github.com/rust-lang/rust/tree/HEAD/src/doc/unstable-book"
edit-url-template = "https://github.com/rust-lang/rust/edit/HEAD/src/doc/unstable-book/{path}"
edit-url-template = "https://github.com/rust-lang/rust/edit/main/src/doc/unstable-book/{path}"