From 2333e411c79050f9b4dcdbbca9b01b3d7991c880 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 4 Apr 2026 23:21:02 +0200 Subject: [PATCH] uudoc: drop legacy FA4 `fa` class from platform icons mdbook 0.5's built-in Font Awesome parser sees the leading `fa` class and defaults to type=regular, which fails to find linux/windows/apple (they live under the `brands` family) and emits hundreds of WARN lines per build. Keeping only `fa-brands fa-` lets the parser resolve the icon correctly. See https://rust-lang.github.io/mdBook/format/mdbook.html for the mdbook Font Awesome syntax. --- src/bin/uudoc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/uudoc.rs b/src/bin/uudoc.rs index 64959bc12..1ef6c4193 100644 --- a/src/bin/uudoc.rs +++ b/src/bin/uudoc.rs @@ -495,7 +495,7 @@ impl MDWriter<'_, '_> { .iter() .any(|u| u == self.name) { - writeln!(self.w, "")?; + writeln!(self.w, "")?; } } writeln!(self.w, "")?;