From 96b03396ddb487816ebd85d1c6f30400019702fc Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 15 Nov 2019 23:58:15 -0500 Subject: name changes --- org/spine.org | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'org/spine.org') diff --git a/org/spine.org b/org/spine.org index c88afa8..a0be34d 100644 --- a/org/spine.org +++ b/org/spine.org @@ -78,7 +78,7 @@ import std.algorithm; import std.parallelism; <> <> -string project_name = "DocReform"; +string project_name = "spine"; string program_name = "spine"; /++ name "spine" @@ -121,14 +121,14 @@ void main(string[] args) { } if (hvst.harvests.length > 0) { if (_opt_action.harvest_topics) { - DocReformMetaDocHarvestsTopics!()(hvst, _make_and_meta_struct, _opt_action); + spineMetaDocHarvestsTopics!()(hvst, _make_and_meta_struct, _opt_action); } if (_opt_action.harvest_authors) { - DocReformMetaDocHarvestsAuthors!()(hvst.harvests, _make_and_meta_struct, _opt_action); + spineMetaDocHarvestsAuthors!()(hvst.harvests, _make_and_meta_struct, _opt_action); } if (!(_opt_action.quiet)) { import doc_reform.output.paths_output; - auto out_pth = DocReformPathsHTML!()(_make_and_meta_struct.conf.output_path, ""); + auto out_pth = spinePathsHTML!()(_make_and_meta_struct.conf.output_path, ""); if (_opt_action.harvest_authors) { writeln("- ", out_pth.harvest("authors.html")); } @@ -267,10 +267,10 @@ mixin CompileTimeInfo; #+NAME: spine_mixin #+BEGIN_SRC d -mixin DocReformRgxInit; -mixin contentJSONtoDocReformStruct; -mixin DocReformBiblio; -mixin DocReformRgxInitFlags; +mixin spineRgxInit; +mixin contentJSONtoSpineStruct; +mixin spineBiblio; +mixin spineRgxInitFlags; mixin outputHub; #+END_SRC @@ -278,7 +278,7 @@ mixin outputHub; #+NAME: spine_init #+BEGIN_SRC d -auto hvst = DocReformHarvest!(); +auto hvst = spineHarvest!(); #+END_SRC **** args :args: @@ -768,7 +768,7 @@ if (_opt_action.config_path_set.empty) { auto _config_local_site_struct = readConfigSite!()(_manifested, _env); if (_config_local_site_struct.filetype == "yaml") { import doc_reform.meta.conf_make_meta_yaml; - _make_and_meta_struct = _config_local_site_struct.configParseYAMLreturnDocReformStruct!()(_make_and_meta_struct, _manifested); // - get local site config + _make_and_meta_struct = _config_local_site_struct.configParseYAMLreturnSpineStruct!()(_make_and_meta_struct, _manifested); // - get local site config break; } } @@ -779,7 +779,7 @@ if (_opt_action.config_path_set.empty) { auto _config_local_site_struct = readConfigSite!()(_manifested, _env, _opt_action.config_path_set); if (_config_local_site_struct.filetype == "yaml") { import doc_reform.meta.conf_make_meta_yaml; - _make_and_meta_struct = _config_local_site_struct.configParseYAMLreturnDocReformStruct!()(_make_and_meta_struct, _manifested); // - get local site config + _make_and_meta_struct = _config_local_site_struct.configParseYAMLreturnSpineStruct!()(_make_and_meta_struct, _manifested); // - get local site config } } } @@ -947,7 +947,7 @@ foreach(arg; args[1..$]) { // refigure how args relate to _opt_action, need path 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); } } #+END_SRC @@ -1014,7 +1014,7 @@ if ((_opt_action.debug_do) ) { writeln("--->\nstepX commence → (document abstraction)"); } -auto t = DocReformAbstraction!()(_env, program_info, _opt_action, manifest, _make_and_meta_struct); +auto t = spineAbstraction!()(_env, program_info, _opt_action, manifest, _make_and_meta_struct); static assert(!isTypeTuple!(t)); static assert(t.length==2); auto doc_abstraction = t[dAM.abstraction]; @@ -1038,7 +1038,7 @@ if (doc_matters.opt.action.verbose || doc_matters.opt.action.show_summary ) { import doc_reform.meta.metadoc_show_summary; - DocReformMetaDocSummary!()(doc_abstraction, doc_matters); + spineMetaDocSummary!()(doc_abstraction, doc_matters); } #+END_SRC @@ -1051,7 +1051,7 @@ if (doc_matters.opt.action.verbose if (doc_matters.opt.action.show_metadata ) { import doc_reform.meta.metadoc_show_metadata; - DocReformShowMetaData!()(doc_matters); + spineShowMetaData!()(doc_matters); } #+END_SRC @@ -1064,7 +1064,7 @@ if (doc_matters.opt.action.show_metadata if (doc_matters.opt.action.show_make ) { import doc_reform.meta.metadoc_show_make; - DocReformShowMake!()(doc_matters); + spineShowMake!()(doc_matters); } #+END_SRC @@ -1077,7 +1077,7 @@ if (doc_matters.opt.action.show_make if (doc_matters.opt.action.show_config ) { import doc_reform.meta.metadoc_show_config; - DocReformShowConfig!()(doc_matters); + spineShowConfig!()(doc_matters); } #+END_SRC @@ -1087,7 +1087,7 @@ if (doc_matters.opt.action.show_config #+NAME: spine_each_file_do_debugs_checkdoc #+BEGIN_SRC d if (doc_matters.opt.action.harvest) { - hvst.harvests ~= DocReformMetaDocHarvest!()(doc_matters, hvst); + hvst.harvests ~= spineMetaDocHarvest!()(doc_matters, hvst); } #+END_SRC @@ -1098,7 +1098,7 @@ if (doc_matters.opt.action.harvest) { #+BEGIN_SRC d /+ ↓ debugs +/ if (doc_matters.opt.action.debug_do) { - DocReformDebugs!()(doc_abstraction, doc_matters); + spineDebugs!()(doc_abstraction, doc_matters); } #+END_SRC @@ -1154,14 +1154,14 @@ break; // terminate, stop #+BEGIN_SRC d :tangle "../src/doc_reform/meta/metadoc.d" module doc_reform.meta.metadoc; -template DocReformAbstraction() { +template spineAbstraction() { <> <> 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, @@ -1218,7 +1218,7 @@ if ((_opt_action.debug_do) ); } 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) @@ -1291,7 +1291,7 @@ if ((_opt_action.debug_do) ) { 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, @@ -1339,7 +1339,7 @@ struct DocumentMatters { auto generator_program() { struct Prog_ { string project_name() { - return "DocReform"; + return "spine"; } string name() { return program_info.name; @@ -1437,7 +1437,7 @@ struct DocumentMatters { 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; @@ -1532,7 +1532,7 @@ struct DocumentMattersAbridged { return _manifest.src; } auto src_path_info() { - return DocReformPathsSRC!()(_manifest.env.pwd, _manifest.src.file_with_absolute_path); + return spinePathsSRC!()(_manifest.env.pwd, _manifest.src.file_with_absolute_path); } auto pod() { return _manifest.pod; -- cgit v1.2.3