From 8f04d3bf917c6a1b3f96135aad4eb16da077e0ff Mon Sep 17 00:00:00 2001 From: Herrtian <70463940+Herrtian@users.noreply.github.com> Date: Wed, 27 May 2026 14:17:04 +0200 Subject: [PATCH] Highlight rustfmt config doc version --- docs/index.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/index.html b/docs/index.html index 13399be25ba..76c6ce3f0e5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -58,10 +58,22 @@ .searchCondition { display: flex; flex-wrap: wrap; + position: sticky; + top: 0; + z-index: 1; + padding: 12px 0; + background: #fff; + border-bottom: 1px solid #d1d5da; } .searchCondition > div { margin-right: 30px; } + .version-note { + flex-basis: 100%; + margin-top: 8px; + color: #57606a; + font-size: 0.9em; + } .header-link { position: relative; } @@ -100,6 +112,9 @@ +
+ Configuration options can change between rustfmt versions. Select the version that matches the rustfmt you use. +