-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Make rustdoc.js use license comments. #42307
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
Conversation
Some changes occurred in HTML/CSS. |
r? @frewsxcv (rust_highfive has picked a reviewer for you, use r? to override) |
I'm not sure to understand the point of this change. Can you give a bit more context please? |
@GuillaumeGomez from what I understand, some JS minifiers have an option to preserve license headings so they don't get minified away, but I'm guessing that only works if the license headings are in a block comment. does that sound right @clarcharr? |
That's correct. |
👍 from me, but there's a failure: https://travis-ci.org/rust-lang/rust/jobs/237377534#L900 You'll need to update |
src/tools/tidy/src/style.rs
Outdated
1 | ||
} else if window.iter().all(|w| w.starts_with(" *")) |
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.
You're missing a {
at the end of this line
@clarcharr are you going to fix this? Just checking to make sure this PR isn't getting lost. |
I am and I have! |
@bors r+ rollup |
📌 Commit dd23fda has been approved by |
Make rustdoc.js use license comments. This will ensure that JS minifiers and the like will preserve the license statement even after minimisation.
Make rustdoc.js use license comments. This will ensure that JS minifiers and the like will preserve the license statement even after minimisation.
This will ensure that JS minifiers and the like will preserve the license statement even after minimisation.