Skip to content

Commit 072d0ac

Browse files
committed
chore: clean up legacy Reason references
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.
1 parent beca9c9 commit 072d0ac

11 files changed

Lines changed: 12 additions & 374 deletions

File tree

app/routes/ApiDocs.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ let make = (props: props) => {
333333
}
334334
}
335335

336-
<SidebarLayout theme=#Reason sidebar rightSidebar> children </SidebarLayout>
336+
<SidebarLayout theme=#ReScript sidebar rightSidebar> children </SidebarLayout>
337337
}
338338

339339
module Data = {

markdown-pages/docs/manual/editor-plugins.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ This section is about the editor plugin for ReScript. It adds syntax highlightin
2222
We don't officially support these; use them at your own risk!
2323

2424
- [Neovim Tree-sitter](https://github.com/nkrkv/nvim-treesitter-rescript)
25-
- [IDEA](https://github.com/reasonml-editor/reasonml-idea-plugin)
2625
- [Emacs](https://github.com/jjlee/rescript-mode)
2726

2827
## Code analysis

markdown-pages/docs/manual/interop-cheatsheet.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ This is a glossary with examples. All the features are described by later pages.
4242
- [`@deprecated`](./attribute.mdx#usage)
4343
- [`genType`](https://github.com/reason-association/genType)
4444
- [`@JSX`](./jsx.mdx)
45-
- `@react.component`: [here](../react/introduction.mdx) and [here](https://github.com/reasonml/reason-react)
45+
- `@react.component`: [here](../react/introduction.mdx) and [here](https://github.com/rescript-lang/rescript-react)
4646
- [`@warning`](./attribute.mdx#usage)
4747
- [`@unboxed`](./variant.mdx#untagged-variants)
4848

markdown-pages/docs/react/arrays-and-keys.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ let posts = [
295295
{
296296
id: "2",
297297
title: "Installation",
298-
content: "You can install reason-react from npm.",
298+
content: "You can install @rescript/react from npm.",
299299
},
300300
]
301301
@@ -373,7 +373,7 @@ let posts = [
373373
{
374374
id: "2",
375375
title: "Installation",
376-
content: "You can install reason-react from npm.",
376+
content: "You can install @rescript/react from npm.",
377377
},
378378
];
379379

@@ -437,7 +437,7 @@ let posts = [
437437
{
438438
id: "2",
439439
title: "Installation",
440-
content: "You can install reason-react from npm.",
440+
content: "You can install @rescript/react from npm.",
441441
},
442442
];
443443

0 commit comments

Comments
 (0)