From 87faa212fbc9f80daec903aa1bab1f997897bec4 Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Tue, 9 Apr 2024 17:26:59 -0700 Subject: [PATCH] rustdoc: remove unused 16x16 favicon According to , SVG favicons are supported in everything but Safari. When I actually try it in Safari, it's downloading all three favicons, and nothing looks different when I disable the 16x16 one. , which is linked from caniuse above, recommends an ico. However, the reason they recommend it is the apps that only support /favicon.ico exactly, and rustdoc can't assume it will be installed to the site root, so it's unfortunately up to the webmaster to make sure it's set up. --- .../html/static/images/favicon-16x16.png | Bin 715 -> 0 bytes src/librustdoc/html/static_files.rs | 1 - src/librustdoc/html/templates/page.html | 2 -- 3 files changed, 3 deletions(-) delete mode 100644 src/librustdoc/html/static/images/favicon-16x16.png diff --git a/src/librustdoc/html/static/images/favicon-16x16.png b/src/librustdoc/html/static/images/favicon-16x16.png deleted file mode 100644 index ea4b45cae1618e6e20e6d61897da953f34b66b30..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 715 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4i*LmhONKMUokK+u%tWsIx;Y9?C1WI$jZRL zppfhl21sKV#(O6=Y{y*0za(fziy<#W6(V zeCWl!-m?ouj(+sdXyeelWS6n9d5QO5X0CTjyO%DQ+ck5Eeq&$hw^Wbqj~*#yG_A`L zZ+B8>pZH)#hiYS=V2sav6D83}FU~8P9;=?lJ-ymuPX3{{OL`+NO%OO~UHtG~%G&PI z(9qJO*HYNebDwIOr0?bROlDV@S^f9gC2y4_j97|pY1vNS()6JJSHrixQ;OFr___th z`g#|&TSiNGUF2}7|T-!GYeJ{}O zVx73Yd`CWm;?)Fi6yBFMg~Skx(0^2hQ=X=##V;r zRtDzU1_o9J26GG4MNl;4=BH$)RpQq0MtA-S1_lO6kPX54X(i=}MX3zs<>h*rdD+Fu zi3O>8`9L7=A "static/LICENSE-MIT.txt", rust_logo_svg => "static/images/rust-logo.svg", rust_favicon_svg => "static/images/favicon.svg", - rust_favicon_png_16 => "static/images/favicon-16x16.png", rust_favicon_png_32 => "static/images/favicon-32x32.png", fira_sans_regular => "static/fonts/FiraSans-Regular.woff2", fira_sans_medium => "static/fonts/FiraSans-Medium.woff2", diff --git a/src/librustdoc/html/templates/page.html b/src/librustdoc/html/templates/page.html index 0e7f7ab2b100..0941f758de57 100644 --- a/src/librustdoc/html/templates/page.html +++ b/src/librustdoc/html/templates/page.html @@ -58,8 +58,6 @@ {% if !layout.favicon.is_empty() %} {# #} {% else %} - {# #} {# #}