Skip to content

fix: regenerate spec.html each build; remove dev notice; unrot spectaql - #1

Merged
islandbitcoin merged 1 commit into
mainfrom
fix/regenerate-spec-remove-banner
Jul 12, 2026
Merged

fix: regenerate spec.html each build; remove dev notice; unrot spectaql#1
islandbitcoin merged 1 commit into
mainfrom
fix/regenerate-spec-remove-banner

Conversation

@islandbitcoin

Copy link
Copy Markdown
Contributor

Completes the docs.flashapp.me revival (companion to re-enabling the disabled-by-inactivity update-docs cron and lnflash/flash#442):

Root cause of frozen docs: the build pipeline never regenerated public/spec.html. spectaql renders to docs/index.html → copied to public/index.html → immediately clobbered by the landing page. spec.html was a committed fossil; spec-patch.js re-patched it non-idempotently every run (hence the accreted duplicate includes + banners), and API content stayed at the Aug-2025 schema even when the cron ran.

Fixes

  • build copies docs/index.html → public/spec.html — the reference is regenerated from the live schema every run; patches now hit pristine output (idempotent by construction)
  • spectaql ^3.0.4 → ^3.0.9 — 3.0.4 + freshly-resolved microfiber 2.1.1 = arrangeData is not a function (same rot class that broke the flash repo's local docs build)
  • Dev-notice banner removed (spec + landing), "Absolute Zero Method" section removed
  • [skip ci] dropped from the updater's commit so it actually triggers the deploy workflow (updater is schedule/dispatch-only — no trigger loop); Node 16/18 → 20
  • public/ regenerated: first real content refresh since Aug 2025 — Bridge (251 refs), cashout, topup, USDT, cutover APIs all documented now

Verify after merge: dispatch update-docs (or wait for midnight cron) → commit → deploy fires → docs.flashapp.me/spec.html shows Bridge/cashout types, no banner. CDN caches for a day (s-maxage=86400), so allow propagation or check with cache-buster.

🤖 Generated with Claude Code

…ot spectaql

The build never regenerated public/spec.html: spectaql renders to
docs/index.html, which was copied to public/index.html and then
clobbered by the landing page — spec.html was a committed fossil that
src/spec-patch.js re-patched non-idempotently every run (duplicate
stylesheet/script includes and dev-notice banners accreted; API content
frozen at the 2025 schema).

- build now copies docs/index.html -> public/spec.html before assets;
  spec-patch always runs against pristine spectaql output (idempotent)
- spectaql ^3.0.4 -> ^3.0.9: 3.0.4 breaks against microfiber 2.1.1
  ('arrangeData is not a function') under fresh installs
- remove the Development Notice banner (spec + landing) and the
  'Absolute Zero Method' section from the landing page
- update-docs.yml: drop [skip ci] so the schema-update commit triggers
  deploy.yml (update-docs is schedule/dispatch-only — no loop);
  node 16 -> 20; deploy.yml node 18 -> 20
- regenerated public/ from the live schema (first content refresh since
  Aug 2025: bridge/cashout/topup/USDT/cutover APIs now documented)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@islandbitcoin
islandbitcoin merged commit f1b1f9f into main Jul 12, 2026
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