mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 06:23:17 -10:00
devvm.dev and next.devvm.dev loaded Instrument Sans and Martian Mono from Google Fonts, with preconnects to fonts.googleapis.com and fonts.gstatic.com. They were the site's only automatic third-party loads; both fonts are now served from docs/static/fonts/ with their OFL, and a lint:docs check keeps it that way. - Instrument Sans: Instrument/instrument-sans at commit 7fa22308a3d0c94ee2b3cd537a1196b65db34a3e, fonts/webfonts/ InstrumentSans[wdth,wght].woff2 (88,784 B, sha256 aa72922a...826d) and InstrumentSans-Italic[wdth,wght].woff2 (94,888 B, sha256 e958f71f...9ba5), OFL.txt (sha256 9e27a72e...f966). - Martian Mono: evilmartians/mono release v1.1.0 (commit 8ffa86c2), martian-mono-1.1.0-variable.zip (sha256 b8773097...0867), its MartianMonoVF.woff2 (83,044 B, sha256 7cdf8e98...238a, wdth 75-112.5 for the code's font-stretch), the commit's OFL.txt (sha256 ddafd2c3...c256). - head-end.html: @font-face for each with font-display: swap and the same family names, a preload for the upright Instrument Sans, and a comment recording every font's source, pin and full SHA-256s, Departure Mono's included. - TestNoThirdPartyLoads (internal/cli/docgen/site_test.go): lint:docs runs it on the site it builds (DOCS_SITE); it fails on any link, script, img/srcset, iframe, source, video, object, SVG image/use, style attribute, <style> block or stylesheet url()/@import pointing at a host other than hugo.yaml's and next.yaml's baseURL. TestPageLoads covers the scanner. - Branding links each font to its upstream repo and its served license; Contributing's Writing docs covers the fonts and the check. Co-Authored-By: Claude Opus 5.5 <[email protected]>