Skip to content

rustdoc: simplify search results CSS and DOM #103980

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Nov 5, 2022

Conversation

notriddle
Copy link
Contributor

@notriddle notriddle commented Nov 4, 2022

Preview: http://notriddle.com/notriddle-rustdoc-demos/search-results/std/index.html?search=vec

There is a layout change caused by this commit, but it's subtle. You won't notice it unless you're looking for it.

Before

image

After

image

There is a layout change caused by this commit, but it's subtle. You won't
notice it unless you're looking for it.
@rustbot
Copy link
Collaborator

rustbot commented Nov 4, 2022

r? @jsha

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Nov 4, 2022
@rustbot
Copy link
Collaborator

rustbot commented Nov 4, 2022

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez, @Folyd, @jsha

@GuillaumeGomez
Copy link
Member

Changes look good to me. Can you setup a web page so I can test it please?

@notriddle
Copy link
Contributor Author

notriddle commented Nov 4, 2022

@GuillaumeGomez
Copy link
Member

Layout looks good. Border bottom doesn't:

Expected:

Screenshot from 2022-11-04 21-54-05

With your changes:

Screenshot from 2022-11-04 21-53-57

If it's not tested, please add a new GUI test. 😄

@notriddle
Copy link
Contributor Author

@GuillaumeGomez That's #103938

@GuillaumeGomez
Copy link
Member

Arf. I completely missed it... Then this PR is ready to go. Sending a fix with a GUI test for the bottom border change. Thanks!

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Nov 4, 2022

📌 Commit 4bd6748 has been approved by GuillaumeGomez

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 4, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 5, 2022
…iaskrgr

Rollup of 7 pull requests

Successful merges:

 - rust-lang#103868 (Use `TraitEngine` (by itself) less)
 - rust-lang#103878 (Fix artifact version/channel detection for stable)
 - rust-lang#103946 (Cleanup bind_pattern args)
 - rust-lang#103956 (Make mir opt unused file check blessable)
 - rust-lang#103977 (LLVM 16: Switch to using MemoryEffects)
 - rust-lang#103980 (rustdoc: simplify search results CSS and DOM)
 - rust-lang#103984 (Refactor tcx mk_const parameters.)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit ded8d03 into rust-lang:master Nov 5, 2022
@rustbot rustbot added this to the 1.67.0 milestone Nov 5, 2022
@notriddle notriddle deleted the notriddle/search-results branch November 5, 2022 04:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants