Skip to content

docs: add wasm version metadata - #1922

Merged
Timeless0911 merged 2 commits into
mainfrom
docs-wasm-version-history
Sep 15, 2026
Merged

Timeless0911 merged 2 commits into
mainfrom
docs-wasm-version-history

Conversation

@Timeless0911

@Timeless0911 Timeless0911 commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Document when disabling .wasm module handling became available and make the version visible in the relevant guide section.

Changes

  • Add a reusable ApiMeta component based on the Rstest implementation.
  • Mark lib.wasm: false as added in v1.0.1 in the advanced Wasm guide.
  • Add the v1.0.1 version history to the lib.wasm configuration documentation.
  • Update both English and Chinese documentation.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Copilot AI lite review requested due to automatic review settings September 14, 2026 11:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved localization, release-link, and anchor findings must be addressed before approval.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Adds reusable version metadata to WASM documentation and records lib.wasm: false history in English and Chinese.

Changes:

  • Adds and styles the ApiMeta component.
  • Annotates WASM guides with version metadata.
  • Adds lib.wasm version-history tables.
File summaries
File Reviewed change Findings
website/theme/components/ApiMeta.tsx Reusable version metadata component Moderate (3 votes): labels are not localized. Moderate (1 vote): v1.0.1 release link currently leads to a 404.
website/theme/components/ApiMeta.module.scss Metadata badge styling No additional findings.
website/docs/zh/guide/advanced/wasm.mdx Chinese WASM guide annotation No additional findings.
website/docs/zh/config/lib/wasm.mdx Chinese version history Nit (2 votes): align the localized heading anchor with the English anchor.
website/docs/en/guide/advanced/wasm.mdx English WASM guide annotation No additional findings.
website/docs/en/config/lib/wasm.mdx English version history No additional findings.
Review details

Suppressed comments (1)

website/theme/components/ApiMeta.tsx:21

  • This renders the added-version badge as a link to v1.0.1, but that release/tag does not currently exist in web-infra-dev/rslib (the release list currently ends at v1.0.0), so the badge leads to a 404 page. Link to an existing release or make the link conditional until v1.0.1 is published.
          <Link href={getGitTagHref(props.addedVersion)}>
  • Files reviewed: 6/6 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread website/theme/components/ApiMeta.tsx Outdated
Comment thread website/docs/zh/config/lib/wasm.mdx
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rslib with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1a44416
Status: ✅  Deploy successful!
Preview URL: https://6f7653a3.rslib.pages.dev
Branch Preview URL: https://docs-wasm-version-history.rslib.pages.dev

View logs

@Timeless0911
Timeless0911 merged commit 5328692 into main Sep 15, 2026
12 checks passed
@Timeless0911
Timeless0911 deleted the docs-wasm-version-history branch September 15, 2026 03:40
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.

2 participants

Sponsor
SponsoredKunjungi sekarang
Promo