docs: Solid Meta v1 documentation for the 1.0 release - #1616
Open
ryansolid wants to merge 3 commits into
Open
Conversation
Solid Meta 1.0 (for Solid 2.0) is provider-less and built on the core useHead registry, so its docs get a versioned section following the same pattern as SolidStart v2: content under src/routes/solid-meta/v1 with a v1 entry on the version axis, its own sidebar, and a Latest/v1 switcher on Meta pages. Covers getting started, a 0.x migration guide, and reference pages for all components including the new <Head> groups, <Script>, and the useHead escape hatch, with cross-links between the 0.x and 1.x overviews. Co-authored-by: Cursor <cursoragent@cursor.com>
|
|
✅ Deploy Preview for solid-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
@solidjs/meta 1.0 no longer re-exports useHead, so the meta v1 reference documents components only; the migration guide now points useHead callers at the core import from @solidjs/web. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds versioned documentation for
@solidjs/meta1.0, which pairs with Solid 2.0 and was rebuilt as a thin, provider-less layer over the coreuseHeadhead registry in@solidjs/web.Follows the same pattern as the SolidStart v2 docs:
src/routes/solid-meta/v1/:key, automatic SSR)MetaProviderremoval, server plumbing removal, new dedupe semantics,useHeadshape, removed features)Title,Meta,Link,Stylesheet,Style,Script,Base, plus the new<Head>group component and theuseHeadescape hatchvite.config.ts: adds av1value to the version axis, includesmetafor["latest", "v1"], filtersv1out of the latest Meta sidebar, and adds a sidebar override for/solid-meta/v1— Meta pages now get a Latest/v1 version switcher like Solid and StartTest plan
vite devrenders/solid-meta/v1with its own Learn/Reference sidebar/solid-meta/v1/...pathsMade with Cursor