Skip to content

Highlight config documentation version#6931

Open
Herrtian wants to merge 1 commit into
rust-lang:mainfrom
Herrtian:emphasize-config-version-docs-4664
Open

Highlight config documentation version#6931
Herrtian wants to merge 1 commit into
rust-lang:mainfrom
Herrtian:emphasize-config-version-docs-4664

Conversation

@Herrtian
Copy link
Copy Markdown

Closes #4664

Keeps the search/version controls visible while scrolling and adds a short note that config options vary by rustfmt version.

Checks:

  • git diff --check

@rustbot rustbot added the S-waiting-on-review Status: awaiting review from the assignee but also interested parties. label May 27, 2026
@ytmimi
Copy link
Copy Markdown
Contributor

ytmimi commented May 27, 2026

@Herrtian Could you post a screenshot of what the docs site looked like before and after this change? Would be good so that we can visually check to see that the updated CSS makes the version stand out more.

If you've got python installed, you can run a dev server from the root of your local rustfmt checkout with

python -m http.server 8000 -d docs/ 

@rustbot author

@rustbot rustbot added S-waiting-on-author Status: 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 May 27, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented May 27, 2026

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@Herrtian
Copy link
Copy Markdown
Author

Here are the before and after screenshots.

Before:
before

After:
after

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: awaiting some action (such as code changes or more information) from the author. labels May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Increase emphasis/visibility of version-specific nature on Config documentation

3 participants