Configuration
val v : b0_cache_dir:B00_std.Fpath.t -> b0_log_file:B00_std.Fpath.t -> cache_dir:B00_std.Fpath.t -> cwd:B00_std.Fpath.t -> doc_dir:B00_std.Fpath.t -> html_dir:B00_std.Fpath.t -> jobs:int -> lib_dir:B00_std.Fpath.t -> log_level:B00_std.Log.level -> odoc_theme:B00_odoc.Theme.name -> share_dir:B00_std.Fpath.t -> tty_cap:B00_std.Tty.cap -> unit -> tv consructs a configuration with given attributes. See the corresponding accessors for details.
val b0_cache_dir : t -> B00_std.Fpath.tb0_cache_dir c is c's b0 cache directory.
val b0_log_file : t -> B00_std.Fpath.tb0_log_file c is c's b0 log file.
val cache_dir : t -> B00_std.Fpath.tcache_dir c is c's cache directory.
val cwd : t -> B00_std.Fpath.tcwd c is c's current working directory.
val doc_dir : t -> B00_std.Fpath.tdoc_dir c is c's documentation directory.
val lib_dir : t -> B00_std.Fpath.tlib_dir c is c's library directory.
val log_level : t -> B00_std.Log.levellog_level c is c's log level.
val html_dir : t -> B00_std.Fpath.thtml_dir c is c's HTML directory, where the API docs are generated (derived from cache_dir).
val odoc_theme : t -> B00_odoc.Theme.nameodoc_theme c is c's odoc theme to use.
val jobs : t -> intjobs c is the maximum number of spawns.
val memo : t -> (B00.Memo.t, string) Stdlib.resultmemo conf is a memoizer for configuration conf.
val pkg_infos : t -> Pkg_info.t Pkg.Map.tpkg_infos conf are the package information of pkgs.
share_dir c is c's share directory.
val tty_cap : t -> B00_std.Tty.captty_cap c is c's tty capability.
val pp : t B00_std.Fmt.tpp formats configurations.
Setup
val setup_with_cli : b0_cache_dir:B00_std.Fpath.t option -> b0_log_file:B00_std.Fpath.t option -> cache_dir:B00_std.Fpath.t option -> doc_dir:B00_std.Fpath.t option -> jobs:int option -> lib_dir:B00_std.Fpath.t option -> log_level:B00_std.Log.level option -> odoc_theme:B00_odoc.Theme.name option -> share_dir:B00_std.Fpath.t option -> tty_cap:B00_std.Tty.cap option option -> unit -> (t, string) Stdlib.resultsetup_with_cli determines and setups a configuration with the given values. These are expected to have been determined by environment variables and command line arguments.