Module z_sites_config

Load and manage site configuration files.

Copyright © 2019 Marc Worrell

Authors: Marc Worrell (marc@worrell.nl).

Description

Load and manage site configuration files.

Function Index

app_is_site/1
config_files/1
config_files/2
merge_global_configs/3Merge the global config options into the site's options, adding defaults.
read_configs/1

Function Details

app_is_site/1

app_is_site(App::atom()) -> boolean()

config_files/1

config_files(Site::atom()) -> [file:filename_all()]

config_files/2

config_files(Node::node(), Site::atom()) -> [file:filename_all()]

merge_global_configs/3

merge_global_configs(Sitename::atom(), SiteConfig::map(), GlobalConfig::map()) -> map()

Merge the global config options into the site's options, adding defaults.

read_configs/1

read_configs(Fs::[file:filename_all()]) -> {ok, map()} | {error, term()}


Generated by EDoc