Skip to content

Correct the deploy docs and drop the remaining em dashes - #20

Open
vpetersson-bot wants to merge 1 commit into
Screenly-Labs:masterfrom
vpetersson-bot:copy/em-dash-sweep
Open

Correct the deploy docs and drop the remaining em dashes#20
vpetersson-bot wants to merge 1 commit into
Screenly-Labs:masterfrom
vpetersson-bot:copy/em-dash-sweep

Conversation

@vpetersson-bot

Copy link
Copy Markdown
Contributor

Follow-up to #19, which fixed only the manifest and meta description because those were the strings leaking onto signage-apps.com. This closes out the rest. No behaviour change.

Two stale deploy claims

README.md already got this right in #18, but two spots were missed:

  • CLAUDE.md: "Pushing to master runs deploy-pages.yml, which re-runs those checks and publishes ./dist to GitHub Pages."
  • .github/workflows/deploy-pages.yml, its own header comment: "Builds the static site and publishes ./dist to GitHub Pages on every push to master."

Neither is true. The trigger is a CalVer tag push ([0-9][0-9][0-9][0-9].*) or a manual workflow_dispatch; master alone ships nothing. Confirmed this release: merging #19 triggered no deploy, and only pushing 2026.8.0 published it. Both now match the workflow.

While there, README's CalVer example said YYYY.N but gave 2026.8.0 as the example; it now reads YYYY.M.PATCH, matching the tags actually in use.

Remaining em dashes

55 of them, across CLAUDE.md, README.md, assets/styles/main.css, build.ts, dev-server.ts, src/clocks.ts, src/main.ts and sync-fonts.ts.

Each was rewritten to whatever the sentence actually wanted, a colon, semicolon, comma or parenthetical, rather than swapping the character blindly:

  • the accent is PER CARD — every city glows…PER CARD: every city glows
  • can't belong to one time of day — many zones share it — so the backdrop…one time of day (many zones share it), so the backdrop
  • a balanced block — 4 cities → 2x2, 7 → 4+3 — instead ofa balanced block (4 cities → 2x2, 7 → 4+3) instead of
  • drop WHOLE zones — never a mid-name slicedrop WHOLE zones, never a mid-name slice

One special case: in the README parameter table the em dash was standing in as the Default column value, so it now reads none rather than being turned into punctuation.

Verification

bun run lint, bun run typecheck, bun test (35 pass) and bun run build all clean. Zero em or en dashes left in any tracked file. Comment reflowing keeps main.css within its existing wrap width.

Two doc/copy cleanups, no behaviour change.

README.md already described the tag-driven deploy correctly (Screenly-Labs#18), but
CLAUDE.md still said "Pushing to master runs deploy-pages.yml" and the
workflow's own header comment still said it publishes "on every push to
master". Neither is true: the trigger is a CalVer tag (or a manual
workflow_dispatch). Both now match the workflow, and README's CalVer
example is spelled YYYY.M.PATCH to match the tags actually in use.

Also removes the remaining em dashes (55 across CLAUDE.md, README.md,
main.css, build.ts, dev-server.ts, src/clocks.ts, src/main.ts and
sync-fonts.ts), rewriting each to a colon, semicolon, comma or
parenthetical as the sentence needs rather than swapping the character
blindly. In the README parameter table the em dash was doing duty as the
"no default" value, so it now reads "none". The manifest and meta
description were already done in Screenly-Labs#19.

lint, typecheck, test (35 pass) and build all clean.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant