aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp.d')
-rwxr-xr-xsrc/sdp.d24
1 files changed, 16 insertions, 8 deletions
diff --git a/src/sdp.d b/src/sdp.d
index 3370433..6a0d48c 100755
--- a/src/sdp.d
+++ b/src/sdp.d
@@ -199,17 +199,25 @@ void main(string[] args) {
/+ ↓ document abstraction: process document, return abstraction as tuple +/
auto t = abs.abstract_doc_source(content_body, dochead_make, dochead_meta);
static assert(!isTypeTuple!(t));
- auto doc_ao_contents = t[0]; // contents ~ endnotes ~ bookindex;
+ auto doc_ao_contents = t[0]; // head ~ toc ~ contents ~ endnotes_seg ~ [glossary] ~ bibliography ~ bookindex;
// static assert(!isIterable!(doc_ao_contents));
- auto doc_ao_bookindex_unordered_hashes = t[1];
- auto doc_ao_biblio = t[2];
+ auto doc_ao_bookindex_unordered_hashes = t[1]; // redundant?
+ auto doc_ao_biblio = t[2]; // redundant?
// destroy(t);
/+ ↓ debugs +/
debug(checkdoc) { // checkbook & dumpdoc
+ auto doc_ao_contents_view = (
+ doc_ao_contents["head"] ~
+ doc_ao_contents["toc_seg"] ~
+ doc_ao_contents["body"] ~
+ doc_ao_contents["endnotes_seg"] ~
+ doc_ao_contents["bibliography"] ~
+ doc_ao_contents["bookindex_seg"]
+ );
dbg.abstract_doc_source_debugs(
- doc_ao_contents,
- doc_ao_bookindex_unordered_hashes,
- doc_ao_biblio,
+ doc_ao_contents_view,
+ doc_ao_bookindex_unordered_hashes, // redundant?
+ doc_ao_biblio, // redundant?
dochead_make,
dochead_meta,
fn_src,
@@ -219,8 +227,8 @@ void main(string[] args) {
/+ ↓ output hub +/
output.hub(
doc_ao_contents,
- doc_ao_bookindex_unordered_hashes,
- doc_ao_biblio,
+ doc_ao_bookindex_unordered_hashes, // redundant?
+ doc_ao_biblio, // redundant?
dochead_make,
dochead_meta,
fn_src,