Ready for launch: remove the Doors preview tooling and tidy the spell check

Merged
LU
2d ago
+70-18688

Makes rebrand-doors ready to launch: the redesign's preview tooling goes, so #943 does not carry it into main.

Removed

  • .github/workflows/rebrand-preview.yaml and its section in the workflows README;
  • scripts/rebrand/ with its baseline (18,000 lines), and its tests;
  • the hook in network.js that only those checks used.

Kept, moved to scripts/: the generators of files the site uses, build_fonts.py (the only way to add an icon), area_plate_bricks.py, render_area_illustrations.py and render_castle_still.py. Everything that names them now uses the new path.

Docs: DESIGN.md and AGENTS.md no longer point at the removed checks, and AGENTS.md says that styles live in assets/css/.

Spell check: on the whole launch diff it goes from 29 findings to none.

  • Added to the vocabulary: EHR, FPR, loafing, ORE, SEMs, STARD, tabEl, and re-usable, re-uses, re-using.
  • DOIs, and \n written out in a quoted string (which turned "In" into "nIn"), are no longer read as words.
  • Skipped: the generated network graph, and two layouts of short interface texts in several languages.
  • Four misspellings copied from the games sheet on purpose are marked in place.

Images: three pictures are now WebP without any loss (573 KB to 230 KB): AI in Metascience, the Reproducibility Metrics screenshot and the Nowhere Lab logo. Share images stay PNG or JPEG, because X and LinkedIn show no preview for WebP; the build converts WebP ones. The PR check now leaves share, generated and third-party images alone, so it flags nothing on the launch diff.

Old files: the old theme's Domine and Inter fonts and static/css/fonts.css, which no page loads.

After this is merged

  • forrt.org/rebrand-doors/ keeps its last version but no longer updates, and PRs into rebrand-doors no longer run the design, accessibility, internal link and comparison checks. The last commit with the tools is af840d74bb; run them from there, for example check_preview.py --production after the launch.
  • At launch, run data-processing.yml on main once, and the preview site in forrtproject/rebrand-doors should be taken down.

Checks: 298 unit tests pass, and check_seo_html.py passes. Compared with a build of rebrand-doors, only the three pages with converted images and the community map redirect differ.

Launch rehearsal (run, merged into main and built as deploy.yaml does with production artifacts): the merge is clean and equals the branch, the SEO checks pass, no page is noindexed by mistake, nothing from /rebrand-doors/ is left, and no sampled page contacts another site before consent. It stopped on three points: the comparison script is gone with this PR (it passes on rebrand-doors); the redirect's relative canonical and the unused old font files, both fixed here; and 21 newsletters that the data artifact still has in their old form. So run data-processing.yml on main right after the launch.

šŸ¤– Generated with Claude Code