Stog is a static web site compiler. It is able to
handle blog posts as well are regular pages. It can be seen as
a kind of Jekyll developed in OCaml.
Since release 0.12.0, Stog can be used
to compile a single file to admittedly publish HTML files where PDF was used
(think about math articles, for example).
The main features are:
- It is developped in OCaml
and can be extended with OCaml plugins,
- It is based on a XML engine allowing to apply substitutions
(rewrite rules) on some tags. Some substitutions are pre-defined, and others can be
défined in your documents or added by plugins,
- It easily supports multi-language sites,
- A lot of functions can be used to handle
sectionning, table of contents, verified cross-references, ...,
- OCaml code can be interpreted at compilation time and the result
included in the generated documents,
- Some plugins ease the inclusion of
graphviz graphs,
and pictures generated by Aysmptote
or LaTeX,
- A markdown plugin converts markdown sources.
Examples of web sites generated by Stog:
- the Stog site (you're on it!),
- Introduction to OCaml (in french),
- Gagallium,
- Vlmc-suffix-tries,
- The Chamo website,
- The Genet website,
- The OCaml-RDF website,
- The Erssical website,
- Le chameau saltimbanque (in french),
- The SNESUP Bourgogne website (in french),
- Oranadoz (in french),
- Maxence Guesdon's site.
A mailing-list is here.
Stog is developped on Github.
See the page for details about downloading and installing.
Stog is released under GPL v3.
Files in the doc/.stog/templates/ directory are released in the public domain; feel free to use
them for your own site.