gallery

command
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Command gallery renders every figure used in the README and the docs.

It lives in the gg module because it is the only place that can produce both halves of each figure: the SVG comes from refract's built-in emitter, the PNG from this backend. Rendering both from one specification is also the cross-backend check — if the two ever stop agreeing, a figure will visibly disagree with itself.

CI runs this with -check, which regenerates every figure into a scratch directory and fails if anything differs from what is committed. So the images in the README can never drift away from the code that produced them.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL