viebel / reasonml.github.io

Reason's documentation site

Home Page:https://reasonml.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reason logo

Reason Website & Documentation

Contribute

All pages are in src/pages/. The markdown files under src/pages/guide and src/pages/community are probably of most interest.

Building

yarn install
npm run develop

That'll start a hot-loading server & you can make changes & see the results.

If you have push access, to deploy a new version of the site, go to the source branch and do:

npm run deploy

The site uses GatsbyJS. For info on how it works, take a look at their docs.

Building the Playground

The playground uses a bundled JS version of Reason's refmt, BuckleScript compiler, its standard library, etc.

To build the bundled standard library: Please read the documentation in regenerateStdlibForBrowser.js.

To build refmt and bs: make sure you've got OPAM, js_of_ocaml, reason, menhirLib and ocaml-migrate-parsetree installed, then invoke black magic at https://github.com/jaredly/bs-refmt-jsoo. Then cry a little and submit a PR to make the process better.

About

Reason's documentation site

https://reasonml.github.io


Languages

Language:HTML 96.2%Language:JavaScript 3.4%Language:CSS 0.3%Language:Shell 0.0%