Skip to content

Commit bce0ea1

Browse files
committed
Merge branch 'vlk/add-order-and-section-to-manual' of github.com:rescript-lang/rescript-lang.org into vlk-v12-react-router
2 parents 365d522 + 24c9fdc commit bce0ea1

25 files changed

+50
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: Arrays and Keys
33
description: "Rendering arrays and handling keys in ReScript and React"
44
canonical: "/docs/react/latest/arrays-and-keys"
5+
section: "Main Concepts"
6+
order: 4
57
---
68

79
# Arrays and Keys

pages/docs/react/latest/beyond-jsx.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: Beyond JSX
33
description: "Details on how to use ReScript and React without JSX"
44
canonical: "/docs/react/latest/beyond-jsx"
5+
section: "Guides"
6+
order: 1
57
---
68

79
# Beyond JSX

pages/docs/react/latest/components-and-props.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: Components and Props
33
description: "Basic concepts for components and props in ReScript & React"
44
canonical: "/docs/react/latest/components-and-props"
5+
section: "Main Concepts"
6+
order: 3
57
---
68

79
# Components and Props

pages/docs/react/latest/context.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: Context
33
description: "Details about Context in ReScript and React"
44
canonical: "/docs/react/latest/context"
5+
section: "Main Concepts"
6+
order: 7
57
---
68

79
# Context

pages/docs/react/latest/elements-and-jsx.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: Elements & JSX
33
description: "Basic concepts for React elements and how to use them in JSX"
44
canonical: "/docs/react/latest/elements-and-jsx"
5+
section: "Main Concepts"
6+
order: 1
57
---
68

79
# Elements & JSX

pages/docs/react/latest/events.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: Events
33
description: "Event handlers for React elements"
44
canonical: "/docs/react/latest/events"
5+
section: "Main Concepts"
6+
order: 5
57
---
68

79
# Events

pages/docs/react/latest/extensions-of-props.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: Extensions of props
33
description: "Extensions of props in ReScript and React"
44
canonical: "/docs/react/latest/spread-props"
5+
section: "Guides"
6+
order: 3
57
---
68

79
# Extensions of Props

pages/docs/react/latest/forwarding-refs.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: Forwarding Refs
33
description: "Forwarding Ref values in ReScript and React"
44
canonical: "/docs/react/latest/forwarding-refs"
5+
section: "Guides"
6+
order: 2
57
---
68

79
# Forwarding Refs

pages/docs/react/latest/hooks-context.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: useContext Hook
33
description: "Details about the useContext React hook in ReScript"
44
canonical: "/docs/react/latest/hooks-context"
5+
section: "Hooks & State Management"
6+
order: 5
57
---
68

79
# useContext

pages/docs/react/latest/hooks-custom.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: Build A Custom Hook
33
description: "How to build your own hooks in ReScript & React"
44
canonical: "/docs/react/latest/hooks-custom"
5+
section: "Hooks & State Management"
6+
order: 7
57
---
68

79
# Build A Custom Hook

0 commit comments

Comments
 (0)