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.
Click to show internal directories.
Click to hide internal directories.