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
type forest = {
  1. trees : Forester_core.Sem.tree Forester_frontend.Analysis.Map.t;
  2. analysis : Analysis.analysis Stdlib.Lazy.t;
}
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 Stdlib.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) Stdlib.Seq.t
val taxa : forest:forest -> (string * string) Stdlib.Seq.t
val tags : forest:forest -> (string * string list) Stdlib.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 Forester_frontend.Analysis.Map.t -> unit
OCaml

Innovation. Community. Security.