Skip to content

Improve the styling of the coverage in the dropdown #961

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

Merged
merged 2 commits into from
Aug 13, 2020

Conversation

pietroalbini
Copy link
Member

New styling (the text is clickable and leads to the crate page):

2020-08-12--23-24-00

r? @GuillaumeGomez
cc @yaahc @sunjay

@sunjay
Copy link
Member

sunjay commented Aug 12, 2020

Thanks @pietroalbini this looks great! Appreciate you being open to this @GuillaumeGomez. I definitely agree with the overall goal of getting people to write more docs and it will be awesome to see more tools/metrics come out to help with that. :)

@GuillaumeGomez
Copy link
Member

Like I said, I don't completely agree with this change but if it makes people more at ease with this feature, this is acceptable.

@jyn514 jyn514 added A-frontend Area: Web frontend S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Aug 12, 2020
@jyn514
Copy link
Member

jyn514 commented Aug 12, 2020

Looks like you need to update the tests too:

thread 'main' panicked at 'assertion failed: check_doc_coverage_is_present_for_path("/fake_crate/0.0.1/fake_crate", web)', src/web/mod.rs:702:13

Looks fine to me other than that.

@pietroalbini pietroalbini merged commit f5fdaeb into rust-lang:master Aug 13, 2020
@pietroalbini pietroalbini deleted the change-coverage-dropdown branch August 13, 2020 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend Area: Web frontend S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants