Make rustdoc.js use license comments.#42307
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
There was a problem hiding this comment.
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.