reason-native-web / morph

A webframework for Reason and OCaml
https://reason-native-web.github.io/morph/
MIT License
139 stars 7 forks source link

Play with making documentation executable #10

Closed ulrikstrid closed 5 years ago

ulrikstrid commented 5 years ago

This PR converts all the examples to markdown based guides. It also makes it so that the OCaml examples will get compiled with esy examples.

I think this is fine for now but I would like to automate the conversion OCaml <-> Reason so that we can have contributors to the guides from either side. I would also like to automate it so that guides are automatically committed to the reason-native-web.github.io repository since that will automatically be built and uploaded to the web page.

The automation steps can be done in separate PRs.