Stog library reference documentation : Stog_io

Module Stog_io

module Stog_io: sig .. end
Building a stog structure from a project tree.

val bool_of_string : string -> bool
bool_of_string "0" = false and bool_of_string "false" = false. bool_of_string returns true for any other value.
val read_modules : Stog_types.stog -> Stog_types.stog
read_modules stog read all modules found in directories of the list stog.stog_mod_dirs and return the modified stog structure.
val doc_of_file : Stog_types.stog -> string -> Stog_types.doc
Read an document from the given absolute filename. The file must be "under" the directory in stog_dir of the stog parameter.
val read_stog : string -> Stog_types.stog
Build a Stog_types.stog structure from the given directory.
val fill_doc_from_atts_and_subs : Stog_types.doc -> Xtmpl.attributes -> Stog_types.body -> Stog_types.doc