Skip to content

Commit

Permalink
contrib docs: add some conveniences
Browse files Browse the repository at this point in the history
- AND search terms, instead of OR
- allow quick-edit, by adding a button that allows one to submit a change directly via github
  • Loading branch information
tshepang authored Oct 12, 2023
1 parent 50d9f9c commit 475136c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/doc/contrib/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down

0 comments on commit 475136c

Please sign in to comment.