aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/ao_doc_debugs.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-04-12 15:23:23 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commitda0f051e1aced4fa1fd5cd13c0548279bf04b2a0 (patch)
tree3c74421c4ce35e28e93512eb01606219e37e0dfb /src/sdp/ao_doc_debugs.d
parentstart work on block outputs (diff)
0.13.9 sisupod & epub3, zipped output
Diffstat (limited to 'src/sdp/ao_doc_debugs.d')
-rw-r--r--src/sdp/ao_doc_debugs.d10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sdp/ao_doc_debugs.d b/src/sdp/ao_doc_debugs.d
index 989a826..05e3739 100644
--- a/src/sdp/ao_doc_debugs.d
+++ b/src/sdp/ao_doc_debugs.d
@@ -113,7 +113,7 @@ template SiSUdebugs() {
}
}
}
- debug(dom) {
+ debug(toc_nav_dom) {
enum DomTags { none, open, close, close_and_open, open_still, }
foreach (sect; doc_matters.keys_seq_seg) {
foreach (obj; contents[sect]) {
@@ -125,10 +125,10 @@ template SiSUdebugs() {
break;
case DomTags.close_and_open :
writeln(markup.indent_by_spaces_provided(k), "</", k, ">");
- writeln(markup.indent_by_spaces_provided(k), "<", k, ">", obj.text);
+ writeln(markup.indent_by_spaces_provided(k), "<", k, ">", obj.text, " file: ", obj.segment_anchor_tag, ".xhtml#", obj.ocn);
break;
case DomTags.open :
- writeln(markup.indent_by_spaces_provided(k), "<", k, ">", obj.text);
+ writeln(markup.indent_by_spaces_provided(k), "<", k, ">", obj.text, " file: ", obj.segment_anchor_tag, ".xhtml#", obj.ocn);
break;
default :
break;
@@ -148,10 +148,10 @@ template SiSUdebugs() {
break;
case DomTags.close_and_open :
writeln(markup.indent_by_spaces_provided(k), "</", k, ">");
- writeln(markup.indent_by_spaces_provided(k), "<", k, ">", obj.text);
+ writeln(markup.indent_by_spaces_provided(k), "<", k, ">", obj.text, " file: ", obj.segment_anchor_tag, ".xhtml#", obj.ocn);
break;
case DomTags.open :
- writeln(markup.indent_by_spaces_provided(k), "<", k, ">", obj.text);
+ writeln(markup.indent_by_spaces_provided(k), "<", k, ">", obj.text, " file: ", obj.segment_anchor_tag, ".xhtml#", obj.ocn);
break;
default :
break;