-
Notifications
You must be signed in to change notification settings - Fork 13k
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
re-add --disable-minification to rustdoc #135353
base: master
Are you sure you want to change the base?
re-add --disable-minification to rustdoc #135353
Conversation
This comment has been minimized.
This comment has been minimized.
d62a16f
to
706fa7c
Compare
This comment has been minimized.
This comment has been minimized.
706fa7c
to
e0463df
Compare
This comment has been minimized.
This comment has been minimized.
this also makes the rust.docs-minification option work as advertised in config.toml nothing fancy this time, this is intended to be perma-unstable. it's only really here for the benefit of rustdoc devs. mitegates rust-lang#135345
e0463df
to
d4057e8
Compare
This PR modifies cc @jieyouxu |
FlagMulti, | ||
"", | ||
"disable-minification", | ||
"diable the minification of CSS/JS files", |
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.
"diable the minification of CSS/JS files", | |
"disable the minification of CSS/JS files", |
@@ -194,7 +194,7 @@ Options: | |||
--doctest-compilation-args add arguments to be used when compiling doctests | |||
|
|||
--disable-minification | |||
removed | |||
diable the minification of CSS/JS files |
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.
diable the minification of CSS/JS files | |
disable the minification of CSS/JS files |
The rustdoc team discussed about it in the last zulip meeting and agreed with this re-add. One thing though: please add a disclaimer to the flag help message to mention it's perma unstable. |
yeah, and the disclaimer should also say that it shouldn't be used with services that cache, like docs.rs |
this also makes the rust.docs-minification option work as advertised in config.toml
nothing fancy this time, this is intended to be perma-unstable. it's only really here for the benefit of rustdoc devs.
mitegates #135345
It was removed in f9e1f6f.