aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/spine.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-11-21 10:31:38 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2019-11-22 09:54:26 -0500
commitf2f033305c7c031017cf8b8a6b7edf18e3a0ce67 (patch)
treefb3eb31c53624f677116d9ef62acf235f33d3467 /org/spine.org
parentsegmented html harvest links cli option (diff)
yaml config, provide default if not readdoc-reform_v0.9.1
Diffstat (limited to 'org/spine.org')
-rw-r--r--org/spine.org6
1 files changed, 4 insertions, 2 deletions
diff --git a/org/spine.org b/org/spine.org
index 87d32b2..848dfcd 100644
--- a/org/spine.org
+++ b/org/spine.org
@@ -764,13 +764,15 @@ auto _env = [
#+BEGIN_SRC d
auto _manifested = PathMatters!()(_opt_action, _env, "");
auto _manifests = [ _manifested ];
+auto _conf_file_details = ConfigFilePaths!()(_manifested, _env, _opt_action.config_path_set);
ConfComposite _make_and_meta_struct;
if (_opt_action.config_path_set.empty) {
foreach(arg; args[1..$]) {
if (!(arg.match(rgx.flag_action))) { /+ cli markup source path +/ // get first input markup source file names for processing
_manifested = PathMatters!()(_opt_action, _env, arg);
{ /+ local site config +/
- auto _config_local_site_struct = readConfigSite!()(_manifested, _env);
+ _conf_file_details = ConfigFilePaths!()(_manifested, _env, _opt_action.config_path_set);
+ auto _config_local_site_struct = readConfigSite!()(_conf_file_details);
if (_config_local_site_struct.filetype == "yaml") {
import doc_reform.meta.conf_make_meta_yaml;
_make_and_meta_struct = _config_local_site_struct.configParseYAMLreturnSpineStruct!()(_make_and_meta_struct, _manifested); // - get local site config
@@ -781,7 +783,7 @@ if (_opt_action.config_path_set.empty) {
}
} else {
{ /+ local site config +/
- auto _config_local_site_struct = readConfigSite!()(_manifested, _env, _opt_action.config_path_set);
+ auto _config_local_site_struct = readConfigSite!()(_conf_file_details);
if (_config_local_site_struct.filetype == "yaml") {
import doc_reform.meta.conf_make_meta_yaml;
_make_and_meta_struct = _config_local_site_struct.configParseYAMLreturnSpineStruct!()(_make_and_meta_struct, _manifested); // - get local site config