Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lolbinarycat
Copy link
Contributor

@lolbinarycat lolbinarycat commented Jan 11, 2025

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.

@rustbot
Copy link
Collaborator

rustbot commented Jan 11, 2025

r? @fmease

rustbot has assigned @fmease.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@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 Jan 11, 2025
@rust-log-analyzer

This comment has been minimized.

@lolbinarycat lolbinarycat force-pushed the rustdoc-disable-minification branch from d62a16f to 706fa7c Compare January 11, 2025 02:50
@rust-log-analyzer

This comment has been minimized.

@lolbinarycat lolbinarycat force-pushed the rustdoc-disable-minification branch from 706fa7c to e0463df Compare January 11, 2025 03:12
@rust-log-analyzer

This comment has been minimized.

@fmease fmease added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 11, 2025
@fmease fmease assigned notriddle and unassigned fmease Jan 11, 2025
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
@lolbinarycat lolbinarycat force-pushed the rustdoc-disable-minification branch from e0463df to d4057e8 Compare January 11, 2025 18:33
@rustbot
Copy link
Collaborator

rustbot commented Jan 11, 2025

This PR modifies tests/run-make/. If this PR is trying to port a Makefile
run-make test to use rmake.rs, please update the
run-make port tracking issue
so we can track our progress. You can either modify the tracking issue
directly, or you can comment on the tracking issue and link this PR.

cc @jieyouxu

FlagMulti,
"",
"disable-minification",
"diable the minification of CSS/JS files",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
diable the minification of CSS/JS files
disable the minification of CSS/JS files

@GuillaumeGomez
Copy link
Member

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.

@lolbinarycat
Copy link
Contributor Author

yeah, and the disclaimer should also say that it shouldn't be used with services that cache, like docs.rs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-run-make Area: port run-make Makefiles to rmake.rs S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
6 participants