From 3ff7241bb2bfef1d85c3fb0f880cac250c8de1bc Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 29 Jun 2024 14:53:07 -0400 Subject: markup source digests (write to terminal) --- src/sisudoc/meta/metadoc.d | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/sisudoc/meta/metadoc.d') diff --git a/src/sisudoc/meta/metadoc.d b/src/sisudoc/meta/metadoc.d index 035f57e..34212a5 100644 --- a/src/sisudoc/meta/metadoc.d +++ b/src/sisudoc/meta/metadoc.d @@ -90,9 +90,10 @@ template spineAbstraction() { } auto _header_body_insertfilelist_imagelist = spineRawMarkupContent!()(_opt_action, _manifest.src.path_and_fn); - writeln("src doc digest: ", _header_body_insertfilelist_imagelist.doc_digest.markup_doc.toHexString, " ", _header_body_insertfilelist_imagelist.doc_digest.markup_doc.toHexString.length); - writeln("header: ", _header_body_insertfilelist_imagelist.doc_digest.header.toHexString, " ", _header_body_insertfilelist_imagelist.doc_digest.header.toHexString.length); - writeln("text: ", _header_body_insertfilelist_imagelist.doc_digest.text.toHexString, " ", _header_body_insertfilelist_imagelist.doc_digest.text.toHexString.length); + // writeln("src doc digest: ", _header_body_insertfilelist_imagelist.doc_digest.markup_doc.toHexString, " ", _header_body_insertfilelist_imagelist.doc_digest.markup_doc.toHexString.length); + // writeln("header: ", _header_body_insertfilelist_imagelist.doc_digest.header.toHexString, " ", _header_body_insertfilelist_imagelist.doc_digest.header.toHexString.length); + // writeln("text: ", _header_body_insertfilelist_imagelist.doc_digest.text.toHexString, " ", _header_body_insertfilelist_imagelist.doc_digest.text.toHexString.length); + auto doc_digests = _header_body_insertfilelist_imagelist.doc_digest; if ((_opt_action.debug_do) || (_opt_action.debug_do_stages) ) { @@ -148,7 +149,7 @@ template spineAbstraction() { ) { writeln("step4 commence → (doc_matters) [", _manifest.src.filename, "]"); } - struct DocumentMatters { + struct ST_DocumentMatters { auto generator_program() { struct Prog_ { string project_name() { @@ -195,6 +196,9 @@ template spineAbstraction() { auto conf_make_meta() { return _make_and_meta_struct; } + auto doc_digest() { + return doc_digests; + } auto has() { return _doc_has_struct; } @@ -287,7 +291,7 @@ template spineAbstraction() { return SRC_(); } } - auto doc_matters = DocumentMatters(); + auto doc_matters = ST_DocumentMatters(); if ((_opt_action.debug_do) || (_opt_action.debug_do_stages) ) { -- cgit v1.2.3