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
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/array-and-list.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Array & List"
description: "Arrays and List data structures"
canonical: "/docs/manual/v12.0.0/array-and-list"
section: "Language Features"
order: 12
---

# Array and List
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/async-await.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Async / Await"
description: "Async / await for asynchronous operations"
canonical: "/docs/manual/v12.0.0/async-await"
section: "Language Features"
order: 22
---

<!-- This prelude is used in many different followup examples, so we use it to shorten the noise of the example code. -->
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/attribute.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Attribute (Decorator)"
description: "Annotations in ReScript"
canonical: "/docs/manual/v12.0.0/attribute"
section: "Language Features"
order: 26
---

# Attribute (Decorator)
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/bind-to-global-js-values.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Bind to Global JS Values"
description: "JS interop with global JS values in ReScript"
canonical: "/docs/manual/v12.0.0/bind-to-global-js-values"
section: "JavaScript Interop"
order: 8
---

# Bind to Global JS Values
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/bind-to-js-function.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Bind to JS Function"
description: "JS interop with functions in ReScript"
canonical: "/docs/manual/v12.0.0/bind-to-js-function"
section: "JavaScript Interop"
order: 6
---

# Function
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/bind-to-js-object.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Bind to JS Object"
description: "Interop with JS objects in ReScript"
canonical: "/docs/manual/v12.0.0/bind-to-js-object"
section: "JavaScript Interop"
order: 5
---

# Bind to JS Object
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/browser-support-polyfills.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Browser Support & Polyfills"
description: "Note on browser support in ReScript"
canonical: "/docs/manual/v12.0.0/browser-support-polyfills"
section: "JavaScript Interop"
order: 13
---

# Browser Support & Polyfills
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/build-configuration-schema.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Configuration Schema"
metaTitle: "Build System Configuration Schema"
description: "Schema exploration widget for the ReScript configuration file"
canonical: "/docs/manual/v12.0.0/build-configuration-schema"
section: "Build System"
order: 3
---

import dynamic from "next/dynamic";
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/build-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Configuration"
metaTitle: "Build System Configuration"
description: "Details about the configuration of the ReScript build system (rescript.json)"
canonical: "/docs/manual/v12.0.0/build-configuration"
section: "Build System"
order: 2
---

# Configuration
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/build-external-stdlib.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "External Stdlib"
metaTitle: "External Stdlib"
description: "Configuring an external ReScript stdlib package"
canonical: "/docs/manual/v12.0.0/build-external-stdlib"
section: "Build System"
order: 4
---

# External Stdlib
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/build-overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Overview"
metaTitle: "Build System Overview"
description: "Documentation about the ReScript build system and its toolchain"
canonical: "/docs/manual/v12.0.0/build-overview"
section: "Build System"
order: 1
---

# Build System Overview
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/build-performance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Performance"
metaTitle: "Build Performance"
description: "ReScript build performance and measuring tools"
canonical: "/docs/manual/v12.0.0/build-performance"
section: "Build System"
order: 7
---

# Build Performance
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/build-pinned-dependencies.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Pinned Dependencies"
metaTitle: "Pinned Dependencies"
description: "Handling multiple packages within one ReScript project with pinned dependencies"
canonical: "/docs/manual/v12.0.0/build-pinned-dependencies"
section: "Build System"
order: 5
---

# Pinned Dependencies
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/control-flow.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "If-Else & Loops"
description: "If, else, ternary, for, and while"
canonical: "/docs/manual/v12.0.0/control-flow"
section: "Language Features"
order: 14
---

# If-Else & Loops
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/converting-from-js.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Converting from JS"
description: "How to convert to ReScript with an existing JS codebase"
canonical: "/docs/manual/v12.0.0/converting-from-js"
section: "Guides"
order: 1
---

# Converting from JS
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/dict.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Dictionary"
description: "Dictionary data structure in ReScript"
canonical: "/docs/manual/v12.0.0/dict"
section: "Language Features"
order: 8
---

# Dictionary
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/editor-code-analysis.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Dead Code Analysis in ReScript"
metaTitle: "Dead Code Analysis in ReScript"
description: "Documentation about ReScript editor plugins and code analysis"
canonical: "/docs/manual/v12.0.0/editor-plugins"
section: "Guides"
order: 2
---

# Dead Code Analysis in ReScript
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/editor-plugins.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Editor"
metaTitle: "Editor"
description: "Documentation about ReScript editor plugins and code analysis"
canonical: "/docs/manual/v12.0.0/editor-plugins"
section: "Overview"
order: 3
---

# Editor
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/embed-raw-javascript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Embed Raw JavaScript"
description: "Utility syntax to for raw JS usage in ReScript"
canonical: "/docs/manual/v12.0.0/embed-raw-javascript"
section: "JavaScript Interop"
order: 2
---

# Embed Raw JavaScript
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/equality-comparison.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Equality and Comparison"
description: "Handling equality and comparison checks"
canonical: "/docs/manual/v12.0.0/equality-comparison"
section: "Language Features"
order: 28
---

# Equality and Comparison
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/exception.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Exception"
description: "Exceptions and exception handling in ReScript"
canonical: "/docs/manual/v12.0.0/exception"
section: "Language Features"
order: 19
---

# Exception
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/extensible-variant.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Extensible Variant"
description: "Extensible Variants in ReScript"
canonical: "/docs/manual/v12.0.0/extensible-variant"
section: "Advanced Features"
order: 1
---

# Extensible Variant
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/external.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "External (Bind to Any JS Library)"
description: "The external keyword"
canonical: "/docs/manual/v12.0.0/external"
section: "JavaScript Interop"
order: 3
---

# External (Bind to Any JS Library)
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/function.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Function"
description: "Function syntax in ReScript"
canonical: "/docs/manual/v12.0.0/function"
section: "Language Features"
order: 13
---

# Function
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Generalized Algebraic Data Types"
description: "Generalized Algebraic Data Types in ReScript"
canonical: "/docs/manual/v12.0.0/generalized-algebraic-data-types"
section: "Advanced Features"
order: 4
---

# Generalized Algebraic Data Types
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/generate-converters-accessors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Generate Converters & Helpers"
description: "All about the @deriving decorator, and how to generate code from types"
canonical: "/docs/manual/v12.0.0/generate-converters-accessors"
section: "JavaScript Interop"
order: 12
---

# Generate Converters & Helpers
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/import-export.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Import & Export"
description: "Importing / exporting in ReScript modules"
canonical: "/docs/manual/v12.0.0/import-export"
section: "Language Features"
order: 25
---

# Import & Export
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/import-from-export-to-js.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Import from / Export to JS"
description: "Importing / exporting JS module content in ReScript"
canonical: "/docs/manual/v12.0.0/import-from-export-to-js"
section: "JavaScript Interop"
order: 7
---

# Import from/Export to JS
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/inlining-constants.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Inlining Constants"
description: "Inlining constants"
canonical: "/docs/manual/v12.0.0/inlining-constants"
section: "JavaScript Interop"
order: 10
---

# Inlining Constants
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Installation"
description: "ReScript installation and setup instructions"
canonical: "/docs/manual/v12.0.0/installation"
section: "Overview"
order: 2
---

# Installation
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/interop-cheatsheet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Interop Cheatsheet"
description: "Cheatsheet for various interop scenarios in ReScript"
canonical: "/docs/manual/v12.0.0/interop-cheatsheet"
section: "JavaScript Interop"
order: 1
---

# Interop Cheatsheet
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/interop-with-js-build-systems.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Interop with JS Build Systems"
description: "Documentation on how to interact with existing JS build systems"
canonical: "/docs/manual/v12.0.0/interop-with-js-build-systems"
section: "Build System"
order: 6
---

# Interop with JS Build Systems
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Introduction"
description: "Introduction to the ReScript programming language"
canonical: "/docs/manual/v12.0.0/introduction"
section: "Overview"
order: 1
---

# ReScript
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/json.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "JSON"
description: "Interacting with JSON in ReScript"
canonical: "/docs/manual/v12.0.0/json"
section: "JavaScript Interop"
order: 9
---

# JSON
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/jsx.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "JSX"
description: "JSX syntax in ReScript and React"
canonical: "/docs/manual/v12.0.0/jsx"
section: "Language Features"
order: 18
---

# JSX
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/lazy-values.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Lazy Value"
description: "Data type for deferred computation in ReScript"
canonical: "/docs/manual/v12.0.0/lazy-values"
section: "Language Features"
order: 20
---

# Lazy Value
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/let-binding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Let Binding"
description: "Let binding syntax for binding to values in ReScript"
canonical: "/docs/manual/v12.0.0/let-binding"
section: "Language Features"
order: 2
---

# Let Binding
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/libraries.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Libraries & Publishing"
description: "Install & publish ReScript packages"
canonical: "/docs/manual/v12.0.0/libraries"
section: "JavaScript Interop"
order: 14
---

# Libraries & Publishing
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/module-functions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Module Functions"
description: "Module Functions in ReScript"
canonical: "/docs/manual/v12.0.0/module-functions"
section: "Advanced Features"
order: 3
---

# Module Functions
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/module.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Module"
description: "ReScript modules, module signatures and interface files"
canonical: "/docs/manual/v12.0.0/module"
section: "Language Features"
order: 24
---

# Module
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/mutation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Mutation"
description: "Imperative and mutative programming capabilities in ReScript"
canonical: "/docs/manual/v12.0.0/mutation"
section: "Language Features"
order: 17
---

# Mutation
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/null-undefined-option.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Null, Undefined and Option"
description: "JS interop with nullable and optional values in ReScript"
canonical: "/docs/manual/v12.0.0/null-undefined-option"
section: "Language Features"
order: 11
---

# Null, Undefined and Option
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/object.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: "Object"
description: "Interoping with JS objects in ReScript"
canonical: "/docs/manual/v12.0.0/object"
section: "Language Features"
order: 7
---

# Object
Expand Down
2 changes: 2 additions & 0 deletions pages/docs/manual/v12.0.0/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Overview"
metaTitle: "Language Features Overview"
description: "A quick overview on ReScript's syntax"
canonical: "/docs/manual/v12.0.0/overview"
section: "Language Features"
order: 1
---

# Overview
Expand Down
Loading