diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2019-11-15 23:58:15 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2019-11-22 09:54:24 -0500 |
commit | 96b03396ddb487816ebd85d1c6f30400019702fc (patch) | |
tree | 4519db10b3f50efa07e5f9f34783c9b7e7eaa114 /src/doc_reform/meta/metadoc.d | |
parent | org renaming (diff) |
name changes
Diffstat (limited to 'src/doc_reform/meta/metadoc.d')
-rw-r--r-- | src/doc_reform/meta/metadoc.d | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/doc_reform/meta/metadoc.d b/src/doc_reform/meta/metadoc.d index 4fb9677..0d6e7a5 100644 --- a/src/doc_reform/meta/metadoc.d +++ b/src/doc_reform/meta/metadoc.d @@ -1,5 +1,5 @@ module doc_reform.meta.metadoc; -template DocReformAbstraction() { +template spineAbstraction() { import std.datetime, std.getopt, @@ -21,16 +21,16 @@ template DocReformAbstraction() { doc_reform.source.read_config_files, doc_reform.source.read_source_files, doc_reform.output.hub; - mixin DocReformRgxInit; - mixin contentJSONtoDocReformStruct; - mixin DocReformBiblio; - mixin DocReformRgxInitFlags; + mixin spineRgxInit; + mixin contentJSONtoSpineStruct; + mixin spineBiblio; + mixin spineRgxInitFlags; mixin outputHub; enum headBody { header, body_content, header_type, insert_file_list, image_list } enum makeMeta { make, meta } enum docAbst { doc_abstract_obj, doc_has } static auto rgx = Rgx(); - auto DocReformAbstraction(E,P,O,M,S)( + auto spineAbstraction(E,P,O,M,S)( E _env, P program_info, O _opt_action, @@ -41,7 +41,7 @@ template DocReformAbstraction() { auto _config_document_struct = readConfigDoc!()(_manifest, _env); if (_config_document_struct.filetype == "yaml") { import doc_reform.meta.conf_make_meta_yaml; - _make_and_meta_struct = _config_document_struct.configParseYAMLreturnDocReformStruct!()(_make_and_meta_struct, _manifest); + _make_and_meta_struct = _config_document_struct.configParseYAMLreturnSpineStruct!()(_make_and_meta_struct, _manifest); } } /+ ↓ read file (filename with path) +/ @@ -53,7 +53,7 @@ template DocReformAbstraction() { ); } auto _header_body_insertfilelist_imagelist - = DocReformRawMarkupContent!()(_opt_action, _manifest.src.path_and_fn); + = spineRawMarkupContent!()(_opt_action, _manifest.src.path_and_fn); static assert(!isTypeTuple!(_header_body_insertfilelist_imagelist)); static assert(_header_body_insertfilelist_imagelist.length==5); if ((_opt_action.debug_do) @@ -92,7 +92,7 @@ template DocReformAbstraction() { ) { writeln("step3 commence → (document abstraction (da); da keys; segnames; doc_matters)"); } - auto da = DocReformDocAbstraction!()( + auto da = docAbstraction!()( _header_body_insertfilelist_imagelist[headBody.body_content], _make_and_meta_struct, _opt_action, @@ -117,7 +117,7 @@ template DocReformAbstraction() { auto generator_program() { struct Prog_ { string project_name() { - return "DocReform"; + return "spine"; } string name() { return program_info.name; @@ -191,7 +191,7 @@ template DocReformAbstraction() { return _manifest.src; } auto src_path_info() { - return DocReformPathsSRC!()(_manifest.env.pwd, _manifest.src.file_with_absolute_path); // would like (to have and use) relative path + return spinePathsSRC!()(_manifest.env.pwd, _manifest.src.file_with_absolute_path); // would like (to have and use) relative path } auto pod() { return _manifest.pod; |