package yocaml

  1. Overview
  2. Docs
Core engine of the YOCaml Static Site Generator

Install

Dune Dependency

Authors

Maintainers

Sources

yocaml-2.3.0.tbz
sha256=216c47d4d954a1e210437101a46736a09fb2e198baf12657c13ade8f24aab7cb
sha512=3bef1e6e93644f860d5b4e72b392530eb0d5ba0ae2cabe198b85b90b92cfd2ad19ff0416d77d46760bcd63b9561c409ef1ecfb11ccacef8e474e7a231234b623

doc/index.html

YOCaml

Yocaml is a framework for building construction rules. Its implementation is biased towards facilitating the construction of static site (or document) generators. Conceptually, it is fairly close to version 3 of Hakyll, a generator written in Haskell.

This page serves as an index of documents describing and justifying certain design choices, as well as guides on how to use YOCaml to build projects.

The YOCaml API (full documentation) can be accessed via this link. The various plugins are accessible via the documentation root.

You can refer to the examples at the root of the source repository to see extensively documented examples of how to use YOCaml.

Specific guides

Generic validation of structured data

YOCaml allows the use of a collection of generic formats, so it must be able to validate arbitrary data. In this guide, we'll look at how to handle the validation of data (structured in the form of key values, rather like a JSON document) and how to project it into controllable OCaml types.

Design choices

A few notes about some design choices (which will probably be expanded upon in specific blog posts).

OCaml

Innovation. Community. Security.