m31-labs/Sirena Bake

Render Mermaid and Sirena diagram fences in Markdown files to committed SVGs. Rewrites each fence to a source-preserving block (inline SVG reference + collapsed source details). Does NOT commit — leave that to the consumer workflow for flexibility.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
pathsSpace- or newline-separated globs of Markdown files to bake. Example: "docs/**/*.md README.md" yes
themeSirena theme name. Defaults to "earth-default" (the built-in earth-tone palette). noearth-default
inferWhen "true", promote Mermaid shapes and labels to typed Sirena kinds. nofalse
checkWhen "true", run in verify mode: render every diagram but write nothing, and fail (exit 1) if any committed SVG or Markdown is stale. Use this in CI to ensure baked diagrams are kept up to date — the job fails until the author re-runs the action in write mode and commits the result. nofalse
working-directoryDirectory to run sirena bake from. Defaults to the repo root. no.

no outputs