Skip to content

docs(catalog): add missing flowchart-vertical and vfx-liquid-glass pages#1525

Open
Dashsoap wants to merge 1 commit into
heygen-com:mainfrom
Dashsoap:fix/catalog-docs-missing-blocks
Open

docs(catalog): add missing flowchart-vertical and vfx-liquid-glass pages#1525
Dashsoap wants to merge 1 commit into
heygen-com:mainfrom
Dashsoap:fix/catalog-docs-missing-blocks

Conversation

@Dashsoap

Copy link
Copy Markdown

What

Adds the two missing catalog doc pages — flowchart-vertical and vfx-liquid-glass — plus their entries in docs/public/catalog-index.json and the Catalog nav in docs/docs.json.

Why

Both blocks are registered in registry/registry.json with complete registry-item.json manifests (and preview video/poster assets), so they're installable via npx hyperframes add flowchart-vertical / vfx-liquid-glass. But their generated catalog docs were never produced — the docs site lists 95 of the 97 registered blocks, and these two are invisible in the catalog grid and search index.

The catalog docs are generated from the registry by scripts/generate-catalog-pages.ts, which emits docs/catalog/<kind>/<name>.mdx, docs/public/catalog-index.json, and the Catalog nav in docs/docs.json. These two blocks were added to the registry without re-running it.

registry blocks:        97
catalog block doc pages: 95   ← flowchart-vertical, vfx-liquid-glass missing

How

I ran scripts/generate-catalog-pages.ts and took only the output for these two items — the two .mdx pages are byte-identical to what the generator produces — then added their corresponding entries to catalog-index.json (alphabetical) and the Catalog nav groups (vfx-liquid-glass → HTML-in-Canvas, flowchart-vertical → Blocks). All other generated pages are left untouched, so the diff is just the two new pages + 28 added lines.

Test plan

  • Unit tests added/updated
  • Manual testing performed — confirmed both blocks have valid registry-item.json + preview assets in the registry; verified the two new .mdx pages are byte-identical to generate-catalog-pages.ts output; the added index/nav entries match the generator's output for these items exactly; JSON.parse succeeds for both edited JSON files; no other catalog page is modified.
  • Documentation updated (if applicable)

Two installable blocks are registered in registry/registry.json with
complete registry-item.json manifests (and preview assets), but their
generated catalog docs were never produced:

  - flowchart-vertical
  - vfx-liquid-glass

The catalog docs are generated from the registry by
scripts/generate-catalog-pages.ts, which emits docs/catalog/<kind>/<name>.mdx,
docs/public/catalog-index.json, and the Catalog nav in docs/docs.json.
These two blocks were added to the registry without re-running it, so the
docs site listed 95 of the 97 blocks — the two are installable via
`hyperframes add` but invisible in the catalog and search index.

This adds exactly the output the generator produces for these two items
(the two .mdx pages are byte-identical to its output) plus their entries
in catalog-index.json and the Catalog nav, leaving all other generated
pages untouched.
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