svelte-ux icon indicating copy to clipboard operation
svelte-ux copied to clipboard

Svelte 5: API docs solution

Open techniq opened this issue 7 months ago • 1 comments

Since the AST has changed in Svelte 5 (and is not a public API guarantee), currently sveld's ComponentParser does not work, which we use to generate the API docs for each component (LayerChart as well).

Svelte 4 Svelte 5
image image

although the instance AST looks identical for a very basic example:

Svelte 4 Svelte 5
image image

techniq avatar Jul 13 '24 14:07 techniq