YOCaml is framework for building static site generator, written in OCaml.
You will find a comprehensive tutorial on how to use YOCaml on the official website.
We suggest creating a local switch to create a sandboxed development environment.
opam update
opam switch create . --deps-only --with-doc --with-test --with-dev-setup -y
eval $(opam env)When the environment is prepared, dune build should build the project.
dune fmtFormat the entire code base according to the profile described in the.ocamlformatfile.dune testRun the tests (for expectation tests, following the command withdune promotewill regenerate the tests that produce outputs)
Ensure that you have run
dune fmtanddune testbefore waiting for your branch to be merged.
Here is a list of websites that use YOCaml, along with their repositories. In addition, you will find some basic examples in the example directory.
| Website | Source |
|---|---|
| YOCaml Tutorial | Repository |
| Ring.muhokama | Repository |
| Gr-im | Repository |
| Xvw | Repository |
| Condor du plateau | Repository |
| Maiste | Repository |
| UnrealDev | Repository |
| zeenat.dev | Repository |
Please feel free to add your website to this list!