aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/meta/metadoc_from_src.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-07-04 11:37:18 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-07-04 11:37:24 -0400
commitd7e7c79253697a7b34df04f547c70669acb67ea1 (patch)
tree55c1fd75ff17de8776599fc633ef71c3648353a1 /src/sisudoc/meta/metadoc_from_src.d
parentmarkup source digest to metadata.html (diff)
[fn].digest.txt, sha256 of pod source files & pod
Diffstat (limited to 'src/sisudoc/meta/metadoc_from_src.d')
-rw-r--r--src/sisudoc/meta/metadoc_from_src.d15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/sisudoc/meta/metadoc_from_src.d b/src/sisudoc/meta/metadoc_from_src.d
index c9112ef..70fec62 100644
--- a/src/sisudoc/meta/metadoc_from_src.d
+++ b/src/sisudoc/meta/metadoc_from_src.d
@@ -1037,20 +1037,7 @@ template docAbstraction() {
obj = _links(obj);
}
}
- auto image_list = (_images.sort()).uniq; // also get digest on each image here? // workon
- if (_images.length > 0) {
- foreach (img; image_list) {
- try { // also get sha digest on image file
- // read_image
- auto data = (cast(byte[]) (manifested.src.image_dir_path ~ "/" ~ img).read);
- // calculate, digest, hash
- writeln(img, "\n", data.sha256Of.toHexString, "::", data.length, " ", img);
- writeln(data.sha256Of.toHexString, " ", img, " ", data.length);
- } catch (Exception ex) {
- writeln("WARNING, image not found: ", img, "\n ", manifested.src.image_dir_path ~ "/" ~ img);
- }
- }
- }
+ auto image_list = (_images.sort()).uniq;
// endnotes optional only one 1~ level
if (the_document_endnotes_section.length > 1) { // writeln("endnotes");
dom_structure_markedup_tags_status_buffer = dom_structure_markedup_tags_status.dup;