Location (URL)
https://github.com/rust-lang/rust/edit/HEAD/src/doc/unstable-book/src/the-unstable-book.md
Summary
When I click suggest an edit in the unstable book, it takes me to a 404 page. I think it's because edit-url-template's branch is set to HEAD instead of main.
https://github.com/rust-lang/rust/edit/main/src/doc/unstable-book/src/the-unstable-book.md
this link is work.
|
[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}" |
|
[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}" |
Location (URL)
https://github.com/rust-lang/rust/edit/HEAD/src/doc/unstable-book/src/the-unstable-book.md
Summary
When I click suggest an edit in the unstable book, it takes me to a 404 page. I think it's because edit-url-template's branch is set to HEAD instead of main.
https://github.com/rust-lang/rust/edit/main/src/doc/unstable-book/src/the-unstable-book.md
this link is work.
rust/src/doc/unstable-book/book.toml
Lines 4 to 6 in 1b43252
rust/src/doc/rustc/book.toml
Lines 4 to 6 in 1b43252