package stog
Module Stog.Io
Building a stog structure from a project tree.
bool_of_string "0" = false and bool_of_string "false" = false. bool_of_string returns true for any other value.
val read_modules : Types.stog -> Types.stogread_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 : Types.stog -> string -> Types.docRead 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 -> Types.stogBuild a Types.stog structure from the given directory.
val fill_doc_from_atts_and_subs :
Types.doc ->
Xtmpl.Rewrite.attributes ->
Types.body ->
Types.doc