2 Commits
Author SHA1 Message Date
w3cjandClaude Opus 5.5 f8f29e7acb docs(site): fonts served from devvm.dev, no third-party requests
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]>
2026-11-08 12:32:19 -07:00
w3cjandClaude Opus 5.5 31fca16f8d docs(site): a landing page, with a black and lime theme
The home page is Hextra's hextra-home layout: "One VM for every folder",
the devvm command and its output, what it does (isolated, ready in
seconds, made for coding agents, each linking its page) and how to
install. The README's first line and the site's description say the
same.

The site is dark only, with a palette from the JustBlack VS Code theme:
a black background and one lime accent, #7fff00, as Hextra's primary
color. Instrument Sans for text and Martian Mono for code come from
Google Fonts; Departure Mono (v1.500, OFL, its license beside it) is
self-hosted for the navbar logo and the home page's headings, badge and
buttons. The logo is the site's title in a box with a box-drawing lock
on its corner, in CSS; the navbar is 30px taller for it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 23:14:48 -07:00