Documentation
¶
Overview ¶
Command render-fixture is a one-off renderer that injects synthetic sponsors + topics plugin Results into a plugins.Data and dumps the classic-template SVG to disk so we can screenshot it for visual verification of the partials added in 011.
Real upstream data isn't reachable for these two plugins yet (sponsors needs `read:user` scope + GraphQL wiring; topics needs the chromedp scraping path + `extras.metrics.run.puppeteer.scrapping` extras), so no real user — not even lowlighter — produces non-empty output via the live engine path today. Until that wiring lands, this fixture dump is the closest visual proof we can ship.
Usage:
go run ./cmd/render-fixture --slug sponsors --out /tmp/sponsors.svg go run ./cmd/render-fixture --slug topics --out /tmp/topics.svg go run ./cmd/render-fixture --slug topics_icons --out /tmp/topics_icons.svg
Delete this directory once the plugins' Run wiring lands and real data renders end-to-end.