Documentation

Docs / Reference

ADR 0091 - Project website: generator, hosting and checks

Status: Accepted (delegated review, 2026-11-25)

Context

Graphvein's first preview launch needs a public website: a home page that says what the tool does, with real screenshots, the measured numbers and how they were measured, and the public documentation (guide, known gaps, command line, evidence, claim contract tables, ADRs). The site states facts about the product, so it is held to the product's own rule: no confident wrong fact. A number on it must be the number on its evidence page, a screenshot must show the current build, and nothing private may leave the repository through it. The repository itself stays private until the launch; only its public snapshot (ADR 0080) is published.

Options considered

Generator.

  1. A static site generator (Hugo, Astro, a docs theme). Fast to start, but a new toolchain, a theme to keep up and many dependencies, and the checks below would be plugins or scripts around it.
  2. A hand-written page per section. No build, but the docs pages would drift from docs/, and the checks would have nothing to run on.
  3. A small Go program in its own module (site/) with goldmark as its only dependency and html/template. One language the project already uses, the checks are ordinary code with tests, and the main module's dependencies do not change.

Hosting.

  1. GitHub Pages: tied to Actions minutes and to a public repository.
  2. Cloudflare Pages connected to this private repository through its Git integration: gives a third party read access to the private repository. Rejected.
  3. Cloudflare Pages by Direct Upload of a built folder: no repository access, but a Direct Upload project can never switch to the Git integration later. Rejected.
  4. Cloudflare Pages with its Git integration on the public repository, created at the launch. Cloudflare builds from the public tree, so it sees only what is public anyway; every branch gets a preview URL; no Actions workflow and no API token are needed.

Analytics. Cloudflare Web Analytics (a beacon script) or none. None: the footer can then say "no cookies, no tracking, no third-party scripts or fonts" without qualification.

Decision

Consequences

Known gaps

Review notes (delegated review, 2026-11-25, T048)

Report a problem with this pageSource: docs/adr/0091-project-website.md