package forester

  1. Overview
  2. Docs
type config = {
  1. env : Eio_unix.Stdenv.base;
  2. assets_dirs : Eio.Fs.dir_ty Eio.Path.t list;
  3. theme_dir : Eio.Fs.dir_ty Eio.Path.t;
  4. root : string option;
  5. base_url : string option;
  6. stylesheet : string;
  7. ignore_tex_cache : bool;
  8. no_assets : bool;
  9. no_theme : bool;
  10. max_fibers : int;
}
type raw_forest = Forester_core.Code.tree list
val plant_forest : raw_forest -> forest
val render_trees : cfg:config -> forest:forest -> render_only:Forester_core.addr list option -> unit
val create_tree : cfg:config -> addrs:string Seq.t -> dest:Eio.Fs.dir_ty Eio.Path.t -> prefix:string -> template:string option -> mode:[ `Sequential | `Random ] -> string
val complete : forest:forest -> string -> (string * string) Seq.t
val taxa : forest:forest -> (string * string) Seq.t
val tags : forest:forest -> (string * string list) Seq.t
val run_renderer : cfg:config -> forest -> (unit -> 'a) -> 'a
val render_json : cwd:[> Eio.Fs.dir_ty ] Eio.Path.t -> Forester_core.Sem.tree Analysis.Map.t -> unit
OCaml

Innovation. Community. Security.