Odig_support.ConfOdig configuration.
val make :
b0_cache_dir:B0_std.Fpath.t ->
b0_log_file:B0_std.Fpath.t ->
cache_dir:B0_std.Fpath.t ->
cwd:B0_std.Fpath.t ->
doc_dir:B0_std.Fpath.t ->
html_dir:B0_std.Fpath.t ->
jobs:int ->
lib_dir:B0_std.Fpath.t ->
odoc_theme:B0_odoc.Theme.name ->
share_dir:B0_std.Fpath.t ->
unit ->
tv consructs a configuration with given attributes. See the corresponding accessors for details.
val b0_cache_dir : t -> B0_std.Fpath.tb0_cache_dir c is c's b0 cache directory.
val b0_log_file : t -> B0_std.Fpath.tb0_log_file c is c's b0 log file.
val cache_dir : t -> B0_std.Fpath.tcache_dir c is c's cache directory.
val cwd : t -> B0_std.Fpath.tcwd c is c's current working directory.
val doc_dir : t -> B0_std.Fpath.tdoc_dir c is c's documentation directory.
val lib_dir : t -> B0_std.Fpath.tlib_dir c is c's library directory.
val html_dir : t -> B0_std.Fpath.thtml_dir c is c's HTML directory, where the API docs are generated (derived from cache_dir).
val odoc_theme : t -> B0_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 -> (B0_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 pp : t B0_std.Fmt.tpp formats configurations.
val setup_with_cli :
b0_cache_dir:B0_std.Fpath.t option ->
b0_log_file:B0_std.Fpath.t option ->
cache_dir:B0_std.Fpath.t option ->
doc_dir:B0_std.Fpath.t option ->
jobs:int option ->
lib_dir:B0_std.Fpath.t option ->
odoc_theme:B0_odoc.Theme.name option ->
share_dir:B0_std.Fpath.t 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.