package odig
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha512=1658390e48b7698522bf539ee038476968c27b75cd90277dfeffb21258940fc2a1e24a12403aba24f7ad2ce33dc920d3149c7d3cfb74c5c3e961b1e96639e9de
doc/odig.support/Odig_support/Conf/index.html
Module Odig_support.ConfSource
Odig configuration.
Configuration
The type for configuration.
val v :
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 ->
log_level:B0_std.Log.level ->
odoc_theme:B00_odoc.Theme.name ->
share_dir:B0_std.Fpath.t ->
tty_cap:B0_std.Tty.cap ->
unit ->
tv consructs a configuration with given attributes. See the corresponding accessors for details.
b0_cache_dir c is c's b0 cache directory.
b0_log_file c is c's b0 log file.
cache_dir c is c's cache directory.
cwd c is c's current working directory.
doc_dir c is c's documentation directory.
lib_dir c is c's library directory.
log_level c is c's log level.
html_dir c is c's HTML directory, where the API docs are generated (derived from cache_dir).
memo conf is a memoizer for configuration conf.
pkg_infos conf are the package information of pkgs.
share_dir c is c's share directory.
tty_cap c is c's tty capability.
pp formats configurations.
Setup
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 ->
log_level:B0_std.Log.level option ->
odoc_theme:B00_odoc.Theme.name option ->
share_dir:B0_std.Fpath.t option ->
tty_cap:B0_std.Tty.cap option option ->
unit ->
(t, string) 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.