Documentation for LLMs
We adhere to the llms.txt convention to make documentation accessible to large language models and their applications.
This ReScript manual major version: v12 (current version).
The root /llms.txt file is the default entry point and always describes the current stable manual. Use the files under /llms/manual/v13/ (pre-release version) or /llms/manual/v12/ (current version) when you want an explicit major-version path. These major-version paths use the latest generated documentation for that major version and avoid full patch numbers in the URL.
Default Current Files
/llms.txt - a list of the available files for the current ReScript language manual.
/llms/manual/llm-full.txt - complete current documentation for the ReScript language.
/llms/manual/llm-small.txt - abridged current documentation without detailed examples.
/llms/manual/language-overview/llm.txt - focused documentation for ReScript syntax and core language features.
/llms/manual/javascript-interop/llm.txt - focused documentation for binding to JavaScript and TypeScript code.
/llms/manual/build-system/llm.txt - focused documentation for build configuration, project structure, and build-tool integration.
/llms/manual/getting-started/llm.txt - focused documentation for installation, editor setup, migrations, and JavaScript onboarding.
Package Documentation
/docs/react/llms - the LLM documentation for ReScript React.
Notes
The content is automatically generated from the same source as the official documentation for the specific version.
Major Version Files
v13 pre-release LLMs index - a list of the available files for the latest ReScript v13 pre-release documentation.
v13 pre-release complete documentation - complete latest ReScript v13 pre-release documentation.
v13 pre-release abridged documentation - abridged latest ReScript v13 pre-release documentation.
v13 pre-release language overview - focused latest ReScript v13 pre-release language overview.
v13 pre-release JavaScript interop - focused latest ReScript v13 pre-release JavaScript interop reference.
v13 pre-release build system - focused latest ReScript v13 pre-release build system reference.
v13 pre-release getting started - focused latest ReScript v13 pre-release onboarding reference.
v12 current LLMs index - a list of the available files for the current ReScript v12 documentation.
v12 current complete documentation - complete current ReScript v12 documentation.
v12 current abridged documentation - abridged current ReScript v12 documentation.
v12 current language overview - focused current ReScript v12 language overview.
v12 current JavaScript interop - focused current ReScript v12 JavaScript interop reference.
v12 current build system - focused current ReScript v12 build system reference.
v12 current getting started - focused current ReScript v12 onboarding reference.