YOCaml is a framework used to describe build systems in OCaml, released under GPL3 license, with an API suited for creating static site generators.
Unlike Hugo, Jekyll or Zola, which provide a CLI, YOCaml is closer to Hakyll, as it imposes no structure,requiring you to build your generator step by step.
This offers the opportunity to create diverse projects.
Find more static site generators.