re-add --disable-minification to rustdoc by lolbinarycat · Pull Request #135353 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation13 Commits3 Checks6 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

lolbinarycat

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

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

notriddle

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@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

@lolbinarycat

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

@rustbot

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

@fmease fmease linked an issue

Jan 11, 2025

that may beclosed by this pull request

GuillaumeGomez

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

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",

GuillaumeGomez

@@ -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

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

@GuillaumeGomez

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

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

@lolbinarycat

@rust-log-analyzer

This comment has been minimized.

@lolbinarycat

@lolbinarycat

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

and removed S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

labels

Jan 14, 2025

@notriddle

@bors

📌 Commit f5e23d5 has been approved by notriddle

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Jan 14, 2025

bors added a commit to rust-lang-ci/rust that referenced this pull request

Jan 15, 2025

@bors

…kingjubilee

Rollup of 11 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Jan 15, 2025

@rust-timer

Rollup merge of rust-lang#135353 - lolbinarycat:rustdoc-disable-minification, r=notriddle

re-add --disable-minification to rustdoc

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

It was removed in rust-lang@f9e1f6f.

This was referenced

Feb 20, 2025

Labels

A-run-make

Area: port run-make Makefiles to rmake.rs

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

T-rustdoc

Relevant to the rustdoc team, which will review and decide on the PR/issue.