stog

Static web site compiler, able to handle blog posts as well as regular pages or any XML document in general
IN THIS PACKAGE
Module Stog . Of_latex
module SMap : Map.S with type key = string
module XR = Xtmpl.Rewrite
type param = {
prefix : string option;
ext_file_prefix : string;
envs : string list;
sectionning : string list;
image_sizes : string SMap.t;
}
type tree =
| Source of string
| Block of block
and block = {
tag : XR.name;
title : tree list;
id : string option;
subs : tree list;
atts : XR.attributes;
}
type preambule_section = string option * string
type preambule = preambule_section list
type tex_file = {
preambule : preambule;
body : tree list;
}
val to_xml : tree list -> XR.tree list
val string_of_stog_directives : ?tags:'a list -> ?notags:'a list -> ('a * string) list -> string
val parse : param -> string -> string -> tex_file * param