package yocaml

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

yocaml-2.7.0.tbz
sha256=89a74bd5cb37e580e45e4ed3d43b07b2cca5af9ab7f98966c48fe9730dc4af2e
sha512=ae77555570320c28c47d748e75056ccc44bb43cddf6fef70e8b556254fd809d67b915b313bd1833c28581db1fdeefbe34e81d5548744d6ecabe466ee1ef6284c

Description

YOCaml is a build system dedicated to generate static document

Published: 23 Nov 2025

README

YOCaml

You will find a comprehensive tutorial on how to use YOCaml on the official website.

Dev setup

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.

Useful commands

  • dune fmt Format the entire code base according to the profile described in the .ocamlformat file.
  • dune test Run the tests (for expectation tests, following the command with dune promote will regenerate the tests that produce outputs)

Website using YOCaml

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

paws-planets-plates

Repository

Dev-JoyA

Repository

Please feel free to add your website to this list!

Dependencies (4)

  1. ppx_expect
  2. logs >= "0.7.0"
  3. ocaml >= "5.1.1"
  4. dune >= "3.18"

Dev Dependencies (11)

  1. utop with-dev-setup
  2. merlin with-dev-setup
  3. ocp-indent with-dev-setup
  4. ocamlformat with-dev-setup
  5. mdx with-test & >= "2.5.0"
  6. qcheck-alcotest with-test
  7. qcheck with-test
  8. alcotest with-test & >= "1.3.0"
  9. fmt with-test
  10. sherlodoc with-doc
  11. odoc with-doc

Used by (13)

  1. yocaml_cmarkit >= "2.7.0"
  2. yocaml_eio >= "2.7.0"
  3. yocaml_git >= "2.7.0"
  4. yocaml_jingoo >= "2.7.0"
  5. yocaml_liquid
  6. yocaml_markdown >= "2.7.0"
  7. yocaml_mustache >= "2.7.0"
  8. yocaml_omd >= "2.7.0"
  9. yocaml_otoml >= "2.7.0"
  10. yocaml_runtime >= "2.7.0"
  11. yocaml_syndication >= "2.7.0"
  12. yocaml_unix >= "2.7.0"
  13. yocaml_yaml >= "2.7.0"

Conflicts

None