aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/meta
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-05-06 19:37:07 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2020-05-20 11:27:26 -0400
commit37bae77e09df3a50947dd445acbcd19afa4ce17c (patch)
tree5d72931f398f45b1f567c10a0a3ed7bb199750bf /src/doc_reform/meta
parentdoc abstraction, pith replaces obj_type_status (diff)
doc structure hash removed, replaced, unused
- doc abstraction changes (use of new associative array named "pith" with enum) replaces the redundant doc structure associative array
Diffstat (limited to 'src/doc_reform/meta')
-rw-r--r--src/doc_reform/meta/defaults.d42
-rw-r--r--src/doc_reform/meta/metadoc.d1
-rw-r--r--src/doc_reform/meta/metadoc_from_src.d1
3 files changed, 0 insertions, 44 deletions
diff --git a/src/doc_reform/meta/defaults.d b/src/doc_reform/meta/defaults.d
index e592be7..33149bf 100644
--- a/src/doc_reform/meta/defaults.d
+++ b/src/doc_reform/meta/defaults.d
@@ -2,48 +2,6 @@
default settings
+/
module doc_reform.meta.defaults;
-template spineRgxDocStructFlags() {
- /+ regex flags +/
- @safe static int[string] flags_type_init() {
- int[string] flags_type_init = [
- "make_headings" : 0,
- "header_make" : 0,
- "header_meta" : 0,
- "heading" : 0,
- "biblio_section" : 0,
- "glossary_section" : 0,
- "blurb_section" : 0,
- "para" : 0,
- "blocks" : 0, // 0..2 generic
- "code" : 0, // 0..2
- "poem" : 0, // 0..2
- "table" : 0, // 0..2
- "group" : 0, // 0..2
- "block" : 0, // 0..2
- "quote" : 0, // 0..2
- "verse_new" : 0,
- "curly_code" : 0,
- "curly_poem" : 0,
- "curly_group" : 0,
- "curly_block" : 0,
- "curly_quote" : 0,
- "curly_table" : 0,
- "curly_table_special_markup" : 0,
- "tic_code" : 0,
- "tic_poem" : 0,
- "tic_group" : 0,
- "tic_block" : 0,
- "tic_quote" : 0,
- "tic_table" : 0,
- "ocn_status" : 0, // 0 object_number; 1 no object_number; 2 no object_number & dummy headings
- "ocn_status_off_for_multiple_objects" : 0, // 0 object_number; 1 no object_number; 2 no object_number & dummy headings
- "heading_status" : 0,
- "heading_off_for_multiple_objects" : 0,
- "book_index" : 0,
- ];
- return flags_type_init;
- }
-}
template spineNode() {
@safe static string[string] node_metadata_heading_str() {
string[string] _node = [
diff --git a/src/doc_reform/meta/metadoc.d b/src/doc_reform/meta/metadoc.d
index ebc5344..db21087 100644
--- a/src/doc_reform/meta/metadoc.d
+++ b/src/doc_reform/meta/metadoc.d
@@ -15,7 +15,6 @@ template spineAbstraction() {
doc_reform.io_out.hub;
mixin spineRgxIn;
mixin spineBiblio;
- mixin spineRgxDocStructFlags;
mixin outputHub;
enum headBody { header, body_content, insert_file_list, image_list }
enum makeMeta { make, meta }
diff --git a/src/doc_reform/meta/metadoc_from_src.d b/src/doc_reform/meta/metadoc_from_src.d
index 9817fac..64e4b85 100644
--- a/src/doc_reform/meta/metadoc_from_src.d
+++ b/src/doc_reform/meta/metadoc_from_src.d
@@ -403,7 +403,6 @@ template docAbstraction() {
previous_length=0;
reset_note_numbers=true;
}
- mixin spineRgxDocStructFlags;
mixin spineNode;
auto node_para_int_ = node_metadata_para_int;
auto node_para_str_ = node_metadata_para_str;