From e37589f5f5253d81c62f8846dbf721c23fe48d44 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 7 Oct 2021 20:39:57 -0400 Subject: configuration, hierarchy filenames & paths ... --- src/doc_reform/meta/metadoc.d | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/doc_reform/meta/metadoc.d') diff --git a/src/doc_reform/meta/metadoc.d b/src/doc_reform/meta/metadoc.d index fdec126..3d04236 100644 --- a/src/doc_reform/meta/metadoc.d +++ b/src/doc_reform/meta/metadoc.d @@ -20,17 +20,18 @@ template spineAbstraction() { enum makeMeta { make, meta } enum docAbst { doc_abstract_obj, doc_has } static auto rgx = RgxI(); - @system auto spineAbstraction(E,P,O,M,S)( + @system auto spineAbstraction(E,P,O,Cfg,M,S)( E _env, P program_info, O _opt_action, + Cfg _cfg, M _manifest, S _make_and_meta_struct ){ { /+ document config/make file +/ auto _config_document_struct = readConfigDoc!()(_manifest, _env); import doc_reform.meta.conf_make_meta_yaml; - _make_and_meta_struct = _config_document_struct.configParseYAMLreturnSpineStruct!()(_make_and_meta_struct, _manifest, _opt_action); + _make_and_meta_struct = _config_document_struct.configParseYAMLreturnSpineStruct!()(_make_and_meta_struct, _manifest, _opt_action, _cfg); } /+ ↓ read file (filename with path) +/ /+ ↓ file tuple of header and content +/ @@ -66,6 +67,7 @@ template spineAbstraction() { _make_and_meta_struct, _manifest, _opt_action, + _cfg, ); if ((_opt_action.debug_do) || (_opt_action.very_verbose) -- cgit v1.2.3