package stog_extern

  1. Overview
  2. Docs
Stog plugin to pipe documents in external commands

Install

dune-project
 Dependency

Authors

Maintainers

Sources

stog-1.1.0.tar.bz2
md5=03c4072037bf05666a249d02954396c3
sha512=299fdb7036c92bd5317726ed20f982123f57897e0d8611dfae383251a6d793e63d372c6628742412d803224a3155ab021f79550fada2e980c7d6179d90f8e43f

doc/stog_extern/Stog_extern/index.html

Module Stog_externSource

module XR = Xtmpl.Rewrite
module Xml = Xtmpl.Xml
Sourceval module_name : string
Sourceval rc_file : Stog.Types.stog -> string
module W = Ocf.Wrapper
Sourcetype action = {
  1. types : string list;
  2. name : string;
  3. command : string;
}
Sourceval default_action : action
Sourceval action_wrapper : action Ocf.Wrapper.t
Sourcetype data = {
  1. actions : action list;
}
Sourceval default_data : data
Sourceval data_wrapper : data Ocf.Wrapper.t
Sourceval group : data -> [ `Closed ] Ocf.group * data Ocf.conf_option
Sourceval load_config : Stog.Types.stog -> data
Sourceval apply_to_doc : string list -> string -> Stog.Types.stog -> Stog.Types.doc Stog.Tmap.key -> (Stog.Types.doc Stog.Tmap.key * Stog.Types.doc) option
Sourceval apply : string list -> string -> 'a -> Stog.Types.stog -> Stog.Types.Doc_set.t -> Stog.Types.stog

FIXME: parallelize this when we'll use lwt everywhere

Sourceval level_fun_of_action : action -> string * 'a Stog.Engine.level_fun
Sourceval level_funs : Stog.Types.stog -> (string * 'a Stog.Engine.level_fun) list
Sourceval default_levels : 'a Stog.Types.Str_map.t
Sourceval make_module : Stog.Types.stog -> ?levels:(string * int list) list -> unit -> (module Stog.Engine.Module)