Website for rescript-react-native
This website is built using Docusaurus 3, a modern static website generator.
Requires Node.js 18+ (see .node-version).
Source lives on the src branch. GitHub Pages serves the built site from
main.
npm installnpm startThis command starts a local development server and opens a browser window. Most changes are reflected live without having to restart the server.
npm run buildThis command generates static content into the build directory.
Push to the src branch (or run the workflow manually). GitHub Actions
builds the site and publishes build/ to main (GitHub Pages).
Workflow: .github/workflows/ci.yml
npm run deployRequires push access to the repo (SSH recommended). Optional overrides:
[email protected]:rescript-react-native/rescript-react-native.github.io.git \
GIT_USER_NAME="Your Name" \
GIT_USER_EMAIL="[email protected]" \
npm run deployDo not use
docusaurus deploy/ agh-pagesbranch for this repo — Pages is configured onmain.
Read the contribution guidelines before contributing.
We want this community to be friendly and respectful to each other. Please read our full code of conduct so that you can understand what actions will and will not be tolerated.