Skip to content

v1.4.0 — Choose the header's pills; group the documents

Choose a tag to compare

@devinbalkind devinbalkind released this 15 Oct 02:58
· 29 commits to main since this release
fb3da33

worker/schema.sql is unchanged. Band layout only; both settings are
optional and default to what v1.3.1 did.

  • project.pills: the documents the header shows as pills, a list of slugs in
    order. Unset, every listed document is a pill (as before), which stops
    working once a site has more than a handful. A slug the viewer may not see,
    or that is not a listed document, is skipped.
  • project.doc_groups: a list of {prefix, label}, in order. The rail and
    Home group the documents under those labels by slug prefix (runbooks/,
    briefs/, ...); the rest come last, under "Other documents".

Also a gate fix: in the band layout the gate named a self-contained page served
as-is (site.passthrough, e.g. design/x.html) design/x.htmlindex.html, so the
gate's exemption for such pages never matched and their own classes failed "every
class used is styled". The variant build now carries one (red before the fix).

Tests: 402 → 406.