Release 0.4 of stog is available from the page.
Changes:
- handle relative paths in <include>, when starting with
. or ..,
- use a separate tool to evaluate ocaml code, "stog-ocaml-session";
this allows to use native code version of stog even when evaluating
ocaml code; it also makes possible to use distinct ocaml toplevels in
ocaml-eval (with session="..."); details here,
- add simple cache system, and option --nocache,
- new <inc> rule to include a block from another
document: <inc doc-path="/install" id="blockid"/>,
- ability to define "functions", site-wide or document-wide,
- handle blocks and counters,
- sectionning now uses blocks and counters,
- a "sectionning" attribute is used to determine which nodes are used for
sectionning a document; default is "section,subsection",
- verify references to blocks by id (sections, ...) and use their title in links,
- use "id" attribute instead of "name" attribute in sectionning tags,
- define and use levels of rules; plugins can extend the number of levels
to define their own rewriting system.