Skip to content

docs(docs): match the docs to the released 0.3 package - #521

Merged
daKmoR merged 1 commit into
mainfrom
docs/match-released-0-3
Dec 1, 2026
Merged

daKmoR merged 1 commit into
mainfrom
docs/match-released-0-3

Conversation

@daKmoR

@daKmoR daKmoR commented Dec 1, 2026

Copy link
Copy Markdown
Member

Summary

Docs-only. Brings the README and docs site in line with the released @rocket/js 0.3.1.

 README.md, build-a-site/20-create-project
-  "@rocket/js": "^0.1.0"            public alpha at `0.1.x`
+  "@rocket/js": "^0.3.1"            public alpha at `0.3.x`

 guides/20-request-time-javascript-pages, guides/35-netlify-adapter, reference/10-core-concepts
-  parameterized JS Pages need render: 'server' (no static params API yet)
+  export `staticParams` to build them statically; render: 'server' only for request-time values
+  → links /reference/pages#static-params-for-parameterized-pages

 reference/15-configuration
-  Sitemap: parameterized Pages excluded until static params exist
+  Sitemap: parameterized Pages listed when they export `staticParams`
-  Social Preview: excluded until static params exist
+  Social Preview: parameterized Pages excluded, including `staticParams` Pages   (matches socialPreviewImages.js)

 reference/26-code-blocks
-  label="rocket.config.js"  { rootDir: 'docs' }
+  label="rocket-config.js"  { includeGlobs: ['docs/pages/**/*.rocket.{md,js}'] }   (matches src/config.js)

 help/20-known-limitations
+  ## Deployment: Cloudflare Adapter has no server-rendered Page support yet   (matches adapters/cloudflare.js)

The Examples index already says its pages are focused examples, not full example sites, so it is unchanged.

Evidence

  • Before: docs claim no static params API, while src/static-params.js is used by rocket build and the Sitemap; code-block example names a config file and option Rocket never reads.
    After: each claim checked against src/. npm run lint, npm run types, npm test (345 node tests + browser) and npm run build pass; the built dist/reference/pages/index.html has the static-params-for-parameterized-pages anchor the new links target.

Merge Danger

Door: two-way

No changeset: docs-only, so no release. The npm package page keeps the old README until the next release ships.

Blast Radius: docs

🤖 Generated with Claude Code

The README and tutorial still pinned `@rocket/js` to `^0.1.0` and called the
alpha `0.1.x`; they now show `^0.3.1` and `0.3.x`.

Several guide and reference pages still claimed Rocket has no static params
API. `staticParams` shipped, so those pages now point parameterized
JavaScript Pages at it and keep `render: 'server'` for values only known at
request time. The Sitemap note now says enumerated paths are listed, and the
Social Preview note keeps the exclusion that the code still applies.

The Labeled Code Blocks example used `rocket.config.js` with a non-existent
`rootDir` option; it now shows `rocket-config.js` with `includeGlobs`, the
file name and required option `readConfig` uses.

Known Limitations now lists the Cloudflare adapter's lack of server-rendered
Page support, which its guide already stated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Dec 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: b73cfaf

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@daKmoR
daKmoR merged commit 2c5e87b into main Dec 1, 2026
1 check passed
@daKmoR
daKmoR deleted the docs/match-released-0-3 branch December 1, 2026 23:43
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