aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/meta/conf_make_meta_toml.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2018-10-03 11:16:23 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2019-04-10 15:14:15 -0400
commita7321dc8c96ff0006eb79a7181db4ab416e916f3 (patch)
treea51168fcb61018db2429d9bbe024ab1624f0f764 /src/doc_reform/meta/conf_make_meta_toml.d
parent0.1.0 renamed doc-reform, doc_reform (& rad) (diff)
naming DocReform from SiSU
Diffstat (limited to 'src/doc_reform/meta/conf_make_meta_toml.d')
-rw-r--r--src/doc_reform/meta/conf_make_meta_toml.d14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/doc_reform/meta/conf_make_meta_toml.d b/src/doc_reform/meta/conf_make_meta_toml.d
index d308ae4..1cf935b 100644
--- a/src/doc_reform/meta/conf_make_meta_toml.d
+++ b/src/doc_reform/meta/conf_make_meta_toml.d
@@ -22,21 +22,21 @@ static template configParseTOMLreturnJSON() {
return _doc_json;
}
}
-static template configParseTOMLreturnSiSUstruct() {
+static template configParseTOMLreturnDocReformStruct() {
import
toml,
toml.json;
import
doc_reform.meta.conf_make_meta_structs,
doc_reform.meta.conf_make_meta_json;
- mixin contentJSONtoSiSUstruct;
- auto configParseTOMLreturnSiSUstruct(CCm, T)(
+ mixin contentJSONtoDocReformStruct;
+ auto configParseTOMLreturnDocReformStruct(CCm, T)(
CCm _make_and_meta_struct,
T _document_struct
){
TOMLDocument _doc = parseTOML(cast(string)(_document_struct.content));
auto _doc_json = toJSON(_doc);
- _make_and_meta_struct = contentJSONtoSiSUstruct!()(_make_and_meta_struct, _doc_json, _document_struct.filename); // struct from json
+ _make_and_meta_struct = contentJSONtoDocReformStruct!()(_make_and_meta_struct, _doc_json, _document_struct.filename); // struct from json
return _make_and_meta_struct;
}
}
@@ -56,8 +56,8 @@ static template docHeaderMakeAndMetaTupTomlExtractAndConvertToStruct() {
doc_reform.meta.conf_make_meta_structs,
doc_reform.meta.conf_make_meta_json,
doc_reform.meta.rgx;
- mixin SiSUrgxInit;
- mixin contentJSONtoSiSUstruct;
+ mixin DocReformRgxInit;
+ mixin contentJSONtoDocReformStruct;
static auto rgx = Rgx();
auto docHeaderMakeAndMetaTupTomlExtractAndConvertToStruct(CCm, Src)(
CCm _make_and_meta_struct,
@@ -71,7 +71,7 @@ static template docHeaderMakeAndMetaTupTomlExtractAndConvertToStruct() {
_doc = parseTOML(cast(string)(header_src));
}
auto _doc_json = toJSON(_doc);
- auto _header_and_make_and_meta_struct = contentJSONtoSiSUstruct!()(_make_and_meta_struct, _doc_json, "header");
+ auto _header_and_make_and_meta_struct = contentJSONtoDocReformStruct!()(_make_and_meta_struct, _doc_json, "header");
return _header_and_make_and_meta_struct;
}
}