Skip to content

fix(docs): Skip *.webgl.svelte layer variants when generating APIs and catalogs - #115

Merged
techniq merged 1 commit into
nextfrom
techniq/docs-skip-webgl-variants
Nov 25, 2026
Merged

techniq merged 1 commit into
nextfrom
techniq/docs-skip-webgl-variants

Conversation

@techniq

@techniq techniq commented Nov 25, 2026

Copy link
Copy Markdown
Owner

generate-api and generate-catalog skip per-layer variants (*.svg.svelte, *.canvas.svelte, *.html.svelte) and *.base.svelte, so only the canonical <Name>.svelte is documented. This adds *.webgl.svelte to that list.

@layerchart/webgl is moving to core LayerChart's layout: Points/Points.svelte switches layers, and Points/Points.webgl.svelte is the WebGL version. Without this, generate-catalog writes an empty Points.webgl.json (and so on) for each of its 20 marks.

Checked by running the patched writeExampleCatalogs on the restructured @layerchart/webgl components. The *.webgl.json files are gone, and the 29 existing catalogs are identical to the ones from main's source. generate-api already skipped them in practice, since it needs a <Name>Props type; it's changed too so the two stay in step.

🤖 Generated with Claude Code

…and catalogs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying layerstack with  Cloudflare Pages  Cloudflare Pages

Latest commit: b0a04fd
Status:🚫  Build failed.

View logs

@changeset-bot

changeset-bot Bot commented Nov 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b0a04fd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@layerstack/docs Patch
@layerstack/docs-site Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Nov 25, 2026

Copy link
Copy Markdown

Open in StackBlitz

@layerstack/docs

npm i https://pkg.pr.new/@layerstack/docs@115

@layerstack/svelte-actions

npm i https://pkg.pr.new/@layerstack/svelte-actions@115

@layerstack/svelte-state

npm i https://pkg.pr.new/@layerstack/svelte-state@115

@layerstack/svelte-stores

npm i https://pkg.pr.new/@layerstack/svelte-stores@115

@layerstack/svelte-table

npm i https://pkg.pr.new/@layerstack/svelte-table@115

@layerstack/tailwind

npm i https://pkg.pr.new/@layerstack/tailwind@115

@layerstack/utils

npm i https://pkg.pr.new/@layerstack/utils@115

commit: b0a04fd

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
layerstack ✅ Ready (View Log) Visit Preview b0a04fd

@techniq
techniq merged commit cef649d into next Nov 25, 2026
5 of 6 checks passed
@techniq
techniq deleted the techniq/docs-skip-webgl-variants branch November 25, 2026 21:52
@github-actions github-actions Bot mentioned this pull request Nov 25, 2026

This branch was successfully deployed

1 active deployment
Preview — b0a04fd5 Deployed Nov 25, 2026 by github-actions[bot]
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