Stog library reference documentation : Stog_plug
sig
  val plugin_config_file : Stog_types.stog -> string -> string
  val register_lang : Stog_intl.lang_abbrev -> Stog_intl.lang_data -> unit
  val register_rule : Xmlm.name -> Xtmpl.callback -> unit
  val unregister_rule : Xmlm.name -> Xtmpl.callback option
  val stog : unit -> Stog_types.stog
  val elt_by_href :
    ?typ:string ->
    Stog_types.stog ->
    Xtmpl.env -> string -> (Stog_types.elt * string * string option) option
  val add_block :
    ?on_dup:[ `Fail | `Ignore | `Warn ] ->
    hid:string ->
    id:string -> short:Xtmpl.tree -> long:Xtmpl.tree -> unit -> unit
  val verbose : ?info:string -> ?level:int -> string -> unit
  val set_print_verbose : (string -> unit) -> unit
  val warning : ?info:string -> string -> unit
  val set_print_warning : (string -> unit) -> unit
  val error : ?info:string -> ?fatal:int -> string -> unit
  val set_print_error : (string -> unit) -> unit
  val register_stage0_fun : (Stog_types.stog -> Stog_types.stog) -> unit
  type rule_build =
      Stog_types.stog ->
      Stog_types.elt_id ->
      Stog_types.elt -> (Xmlm.name * Xtmpl.callback) list
  type level_fun =
      Xtmpl.env ->
      Stog_types.stog ->
      Stog_types.elt_id -> Stog_types.elt -> Stog_types.elt
  type level_fun_on_elt_list =
      Xtmpl.env ->
      Stog_types.stog ->
      (Stog_types.elt_id * Stog_types.elt) list ->
      (Stog_types.elt_id * Stog_types.elt) list
  val register_level_fun : int -> Stog_plug.level_fun -> unit
  val compute_elt : Stog_plug.rule_build -> Stog_plug.level_fun
  val register_level_fun_on_elt_list :
    int -> Stog_plug.level_fun_on_elt_list -> unit
  val register_cache : (module Stog_cache.Cache-> unit
  type dependency = Stog_deps.dependency = File of string | Elt of string
  val add_dep : Stog_types.elt -> Stog_plug.dependency -> unit
end