-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Rustdoc style cleanups #92830
Rustdoc style cleanups #92830
Conversation
Some changes occurred in HTML/CSS/JS. |
I think I kind of liked the source link being darker, but I don't feel strongly either way. |
This actually keeps the source link the same color (#3873AD), but changes the non-linked text (1.0.0 ·) to be grey. Also, this only affects the light theme; the other themes continue to have the (1.0.0 ·) in a less emphasized color. Though that reminds me - originally, the |
Sorry, I meant the version number; I wrote the wrong word :) |
Please add a GUI test for the font color on the |
I tried this, but got "stability attributes may not be used outside the standard library." |
@jsha add |
3c81a0a
to
2ec8eda
Compare
Thanks a lot for adding this new GUI test crate. And thanks to @camelid for answering your questions! :) |
- Make "since" version numbers grey again (regressed in rust-lang#92602). - Remove unneeded selectors for when crate filter dropdown is a sibling of search-input. - Crate filter dropdown doesn't need to be 100% width on mobile. - Only build crate filter dropdown when there is more than one crate. - Remove unused addCrateDropdown.
Apart from my last comment, all good for me! r=me once you added it. Thanks! |
@bors r=GuillaumeGomez rollup |
📌 Commit ae99e23 has been approved by |
…askrgr Rollup of 14 pull requests Successful merges: - rust-lang#92629 (Pick themes on settings page, not every page) - rust-lang#92640 (Fix ICEs related to `Deref<Target=[T; N]>` on newtypes) - rust-lang#92701 (Add some more attribute validation) - rust-lang#92803 (Hide mobile sidebar on some clicks) - rust-lang#92830 (Rustdoc style cleanups) - rust-lang#92866 ("Does exists" typos fix) - rust-lang#92870 (add `rustc_diagnostic_item` attribute to `AtomicBool` type) - rust-lang#92914 (htmldocck: Add support for `/text()` in ``@snapshot`)` - rust-lang#92923 (Abstract the pretty printer's ringbuffer to be infinitely sized) - rust-lang#92946 (Exclude llvm-libunwind from the self-contained set on s390x-musl targets) - rust-lang#92947 (rustdoc: Use `intersperse` in a `visit_path` function) - rust-lang#92997 (Add `~const` bound test for negative impls) - rust-lang#93004 (update codegen test for LLVM 14) - rust-lang#93016 (Stabilize vec_spare_capacity) Failed merges: - rust-lang#92924 (Delete pretty printer tracing) r? `@ghost` `@rustbot` modify labels: rollup
sibling of search-input.
Demo: https://rustdoc.crud.net/jsha/style-cleanups/std/string/struct.String.html
r? @GuillaumeGomez