From 475136cc8c0b8d7b1e5f46ca198bdd1862c7c4f8 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Thu, 12 Oct 2023 11:35:32 +0200 Subject: [PATCH] contrib docs: add some conveniences - AND search terms, instead of OR - allow quick-edit, by adding a button that allows one to submit a change directly via github --- src/doc/contrib/book.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/doc/contrib/book.toml b/src/doc/contrib/book.toml index 628179c0d8b..e322fd8f35b 100644 --- a/src/doc/contrib/book.toml +++ b/src/doc/contrib/book.toml @@ -5,6 +5,8 @@ authors = ["Eric Huss"] [output.html] curly-quotes = true # Enable smart-punctuation feature for more than quotes. git-repository-url = "https://github.com/rust-lang/cargo/tree/master/src/doc/contrib/src" +edit-url-template = "https://github.com/rust-lang/cargo/edit/master/src/doc/contrib/{path}" +search.use-boolean-and = true [output.html.redirect] "/apidoc/cargo/index.html" = "https://doc.rust-lang.org/nightly/nightly-rustc/cargo/"