Skip to content

[codex] clean up legacy Reason references#1280

Open
jderochervlk wants to merge 1 commit intomasterfrom
codex/clean-reason-references
Open

[codex] clean up legacy Reason references#1280
jderochervlk wants to merge 1 commit intomasterfrom
codex/clean-reason-references

Conversation

@jderochervlk
Copy link
Copy Markdown
Collaborator

@jderochervlk jderochervlk commented Apr 28, 2026

Context

This cleans up current-site references that still used Reason or ReasonML naming where the intent is ReScript. It keeps archived blog content untouched and preserves intentional legacy Reason syntax support in the playground/compiler path.

Summary

  • Remove the unused sidebar theme prop plumbing and delete the dead ColorTheme / _theme.css path.
  • Remove the unused local plugins/reason-highlightjs.js grammar now that the app registers highlightjs-rescript.
  • Refresh current docs references from Reason-era React/editor resources to current ReScript equivalents.
  • Update a React docs example string from reason-react to @rescript/react.

Validation

  • yarn build:res
  • yarn test
  • git diff --check
  • yarn workspace @rescript-lang/docs vitest --browser.headless --run __tests__/ApiOverviewLayout_.test.jsx

Notes

Remaining Reason mentions are intentional compatibility or historical references: playground/compiler old syntax support, migration docs, package filters, and archived blog route paths.

Comment thread apps/docs/markdown-pages/docs/manual/editor-plugins.mdx Outdated
Rename the docs color theme to ReScript, remove the unused local Reason Highlight.js grammar, and refresh current docs references that still pointed at Reason-era React/editor resources.

Keep archived blog content and intentional legacy Reason syntax support untouched.
@github-actions
Copy link
Copy Markdown

Cloudflare deployment

Deployement ID: 118c116d-c392-4152-ab43-061e98632845
Deployment Environment: preview

⛅️ wrangler 4.63.0 (update available 4.86.0)
─────────────────────────────────────────────
✨ Compiled Worker successfully
Uploading... (7583/8042)
Uploading... (7736/8042)
Uploading... (7889/8042)
Uploading... (8042/8042)
✨ Success! Uploaded 459 files (7583 already uploaded) (7.93 sec)

✨ Uploading _redirects
✨ Uploading Functions bundle
🌎 Deploying...
✨ Deployment complete! Take a peek over at https://118c116d.rescript-lang.pages.dev
✨ Deployment alias URL: https://codex-clean-reason-reference.rescript-lang.pages.dev

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