-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search box #54281
Search box #54281
Conversation
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
src/doc/index.md
Outdated
<input type="search" name="search"/> | ||
<button>Search</button> | ||
<input id="search-input" type="search" name="search" | ||
placeholder="Search into the standard library!"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer something like "Search through the standard library" (without the exclamation mark), though i'm welcome to a second opinion from @rust-lang/docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes sir!
src/librustdoc/lib.rs
Outdated
@@ -404,8 +404,11 @@ fn main_args(args: &[String]) -> isize { | |||
`short` (instead was `{}`)", arg)); | |||
} | |||
}; | |||
let treat_err_as_bug = matches.opt_strs("Z").iter().any(|x| { | |||
*x == "treat-err-as-bug" | |||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This branch includes your -Z treat-err-as-bug
branch as well. Please remove that commit from this branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woups, indeed!
dbf4e9c
to
9d5ca39
Compare
Updated. |
Unless someone from docs comes up with a better search-box placeholder text, r=me if travis is green. |
@bors: r=QuietMisdreavus rollup |
📌 Commit 9d5ca39 has been approved by |
…isdreavus Search box Follow up of rust-lang#54244. r? @QuietMisdreavus <img width="1440" alt="screen shot 2018-09-16 at 21 23 05" src="https://user-images.githubusercontent.com/3050060/45600056-cbf93380-b9f6-11e8-904a-d76ddbc5ed69.png">
Rollup of 12 pull requests Successful merges: - #53518 (Add doc for impl From in char_convert) - #54058 (Introduce the partition_dedup/by/by_key methods for slices) - #54281 (Search box) - #54368 (Reduce code block sides padding) - #54498 (The project moved under the Mozilla umbrella) - #54518 (resolve: Do not block derive helper resolutions on single import resolutions) - #54522 (Fixed three small typos.) - #54529 (aarch64-pc-windows-msvc: Don't link libpanic_unwind to libtest.) - #54537 (Rename slice::exact_chunks() to slice::chunks_exact()) - #54539 (Fix js error) - #54557 (incr.comp.: Don't automatically enable -Zshare-generics for incr. comp. builds.) - #54558 (Improvements to finding LLVM's FileCheck) Failed merges: r? @ghost
☔ The latest upstream changes (presumably #54575) made this pull request unmergeable. Please resolve the merge conflicts. |
Follow up of #54244.
r? @QuietMisdreavus