reportist/docs/development.md

16 lines
817 B
Markdown

# Report plugin development
`plugins/report/render.typ` and `plugins/report/model.typ` own authored report
structure. `render.sh` stages these files with the shared `visual/elements.typ`,
`visual/themes.yaml`, and logo. The diagnostic plugin imports the same visual
module but keeps its own Typst document logic.
Run `tests/test.sh` for plugin smoke checks. In the integration repository,
`../beffroi.sh test` rebuilds seven authored reports and ten diagnostics and
compares them with the original Typst PDFs. When the local reference exists,
the comparison includes rasterized pages.
The old Reportist v1 schema, IR adapter, and their test oracle were retired.
The active validator in `tools/validate.sh` compiles with the report plugin, so
it applies the requirements of that renderer without a separate schema.