Skip to content

fix: load v13 API docs from published compiler data - #1458

Open
fhammerschmidt wants to merge 1 commit into
rescript-lang:v13from
fhammerschmidt:fix/1433-v13-api-data
Open

fhammerschmidt wants to merge 1 commit into
rescript-lang:v13from
fhammerschmidt:fix/1433-v13-api-data

Conversation

@fhammerschmidt

@fhammerschmidt fhammerschmidt commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

The shared API-data loader and cleanup landed in #1459. On the updated v13 baseline, select repository-root data/api/v13.* publications for the v13 website and use DocsVersion.current for the preview label, search metadata, and generated manual indexes. Keep a link to the released v12 documentation and remove the unused major-version display helper.

Add ReScript regression coverage for numeric v13 publication selection without mixing compiler majors, generated route types, API roots/modules and sidebar content across document/data URLs, and API link validation. The existing shared validation still rejects incomplete and malformed publications. No API snapshot JSON is deleted or changed by this follow-up.

Fixes #1433.
Prepares the website for compiler #8753, which should follow after this lands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T16:19:05.865970Z 7037429 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@fhammerschmidt
fhammerschmidt changed the base branch from v13 to sync/v13-october-updates October 20, 2026 16:24
@fhammerschmidt
fhammerschmidt deleted the branch rescript-lang:sync/v13-october-updates October 20, 2026 17:10
Build on the shared website sync to select v13 publications, preview labels, search metadata, and generated manual indexes from DocsVersion.current. Add ReScript tests for publication selection, route loaders, data URLs, sidebars, and link validation. Remove the now-unused major-version helper.

Fixes rescript-lang#1433
@fhammerschmidt
fhammerschmidt changed the base branch from sync/v13-october-updates to v13 October 20, 2026 17:13

This branch has not been deployed

No deployments
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