Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions apps/docs/__tests__/ApiOverviewLayout_.test.res
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test("desktop API overview shows sidebar categories and content", async () => {
let screen = await render(
<MemoryRouter initialEntries=["/docs/manual/api"]>
<div dataTestId="api-overview-wrapper">
<DocsLayout categories theme=#Js>
<DocsLayout categories>
<div> {React.string("API documentation content.")} </div>
</DocsLayout>
</div>
Expand Down Expand Up @@ -64,7 +64,7 @@ test("mobile API overview hides sidebar", async () => {
let screen = await render(
<MemoryRouter initialEntries=["/docs/manual/api"]>
<div dataTestId="api-overview-wrapper">
<DocsLayout categories theme=#Js>
<DocsLayout categories>
<div> {React.string("API documentation content.")} </div>
</DocsLayout>
</div>
Expand Down Expand Up @@ -92,7 +92,7 @@ test("desktop API overview shows all category items", async () => {
let screen = await render(
<MemoryRouter initialEntries=["/docs/manual/api"]>
<div dataTestId="api-overview-wrapper">
<DocsLayout categories theme=#Js>
<DocsLayout categories>
<div>
<Markdown.H1> {React.string("API Reference")} </Markdown.H1>
<Markdown.P> {React.string("Welcome to the ReScript API documentation.")} </Markdown.P>
Expand All @@ -118,7 +118,7 @@ test("tablet API overview", async () => {
let screen = await render(
<MemoryRouter initialEntries=["/docs/manual/api"]>
<div dataTestId="api-overview-wrapper">
<DocsLayout categories theme=#Js>
<DocsLayout categories>
<div> {React.string("API documentation content.")} </div>
</DocsLayout>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/app/routes/ApiDocs.res
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ let make = (props: props) => {
}
}

<SidebarLayout theme=#Reason sidebar rightSidebar> children </SidebarLayout>
<SidebarLayout sidebar rightSidebar> children </SidebarLayout>
}

module Data = {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/app/routes/ApiOverviewRoute.res
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ let default = () => {
<NavbarTertiary sidebar={<DocsSidebar categories />}>
<SidebarLayout.BreadCrumbs crumbs=breadcrumbs />
</NavbarTertiary>
<DocsLayout categories theme=#Js>
<DocsLayout categories>
<div className="markdown-body">
<MdxContent compiledMdx />
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/markdown-pages/docs/manual/editor-plugins.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This section is about the editor plugin for ReScript. It adds syntax highlightin

We don't officially support these; use them at your own risk!

- [IDEA](https://github.com/reasonml-editor/reasonml-idea-plugin)
- [IntelliJ IDEA](https://github.com/Nagatatz/rescript-intellij-plugin)
- [Emacs](https://github.com/jjlee/rescript-mode)

## Code analysis
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ This is a glossary with examples. All the features are described by later pages.
- [`@deprecated`](./attribute.mdx#usage)
- [`genType`](https://github.com/reason-association/genType)
- [`@JSX`](./jsx.mdx)
- `@react.component`: [here](../react/introduction.mdx) and [here](https://github.com/reasonml/reason-react)
- `@react.component`: [here](../react/introduction.mdx) and [here](https://github.com/rescript-lang/rescript-react)
- [`@warning`](./attribute.mdx#usage)
- [`@unboxed`](./variant.mdx#untagged-variants)

Expand Down
6 changes: 3 additions & 3 deletions apps/docs/markdown-pages/docs/react/arrays-and-keys.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ let posts = [
{
id: "2",
title: "Installation",
content: "You can install reason-react from npm.",
content: "You can install @rescript/react from npm.",
},
]

Expand Down Expand Up @@ -373,7 +373,7 @@ let posts = [
{
id: "2",
title: "Installation",
content: "You can install reason-react from npm.",
content: "You can install @rescript/react from npm.",
},
];

Expand Down Expand Up @@ -437,7 +437,7 @@ let posts = [
{
id: "2",
title: "Installation",
content: "You can install reason-react from npm.",
content: "You can install @rescript/react from npm.",
},
];

Expand Down
Loading
Loading