Skip to content

Drop workbench's hero_canvas, which nothing serves - #64

Merged
bdbarnett merged 2 commits into
mainfrom
sweep/workbench-hero
Oct 9, 2026
Merged

bdbarnett merged 2 commits into
mainfrom
sweep/workbench-hero

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

Fixes #60.

workbench's entry is page: none, so the generator writes no landing page for it, and its hero_canvas (the polyhedron app) ran nowhere. https://pydevices.github.io/workbench/ is the IDE's own site.

This removes the block and makes validate_db() refuse a hero_canvas on a page: none entry. tests/test_validate_db.py covers both: it fails on main (workbench is listed, and the validator lets a planted page=none hero through) and passes here.

The validator now refuses a hero on a page=none entry, so the next one
is caught when the database is edited.
@bdbarnett
bdbarnett merged commit e65c98c into main Oct 9, 2026
6 checks passed
@bdbarnett
bdbarnett deleted the sweep/workbench-hero branch October 9, 2026 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

repos_db.json gives workbench a hero_canvas that nothing serves

1 participant