aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/meta/metadoc_summary.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp/meta/metadoc_summary.d')
-rw-r--r--src/sdp/meta/metadoc_summary.d26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/sdp/meta/metadoc_summary.d b/src/sdp/meta/metadoc_summary.d
index 0566ff5..3167677 100644
--- a/src/sdp/meta/metadoc_summary.d
+++ b/src/sdp/meta/metadoc_summary.d
@@ -22,24 +22,24 @@ template SiSUabstractionSummary() {
auto markup = InlineMarkup();
if (doc_matters.opt.action.verbose) {
string[string] check = [
- "last_obj_cite_number" : "NA [debug \"checkdoc\" not run]",
- "last_obj_cite_number_body" : "0",
- "last_obj_cite_number_bkidx" : "0",
+ "last_object_number" : "NA [debug \"checkdoc\" not run]",
+ "last_object_number_body" : "0",
+ "last_object_number_bkidx" : "0",
];
foreach (k; doc_matters.xml.keys_seq.seg) {
foreach (obj; doc_abstraction[k]) {
if (obj.typeinfo.of_part != "empty") {
- if (!empty(obj.node.obj_cite_number)) {
+ if (!empty(obj.node.object_number)) {
if (k == "body") {
- check["last_obj_cite_number_body"] = obj.node.obj_cite_number;
+ check["last_object_number_body"] = obj.node.object_number;
}
- if (!(obj.node.obj_cite_number.empty)) {
- check["last_obj_cite_number"] = obj.node.obj_cite_number;
+ if (!(obj.node.object_number.empty)) {
+ check["last_object_number"] = obj.node.object_number;
}
}
if (k == "bookindex_seg") {
- if (obj.misc.obj_cite_number_type == 2) {
- check["last_obj_cite_number_bkidx"] = obj.misc.obj_cite_number_bkidx;
+ if (obj.misc.object_number_type == 2) {
+ check["last_object_number_bkidx"] = obj.misc.object_number_bkidx;
}
}
}
@@ -63,9 +63,9 @@ template SiSUabstractionSummary() {
"length doc_abstraction arr:",
to!int(doc_abstraction["body"].length),
"last doc body ocn:",
- to!int(check["last_obj_cite_number_body"]),
- "last obj_cite_number:",
- to!int(check["last_obj_cite_number"]),
+ to!int(check["last_object_number_body"]),
+ "last object_number:",
+ to!int(check["last_object_number"]),
"length endnotes:", // subtract headings
(doc_abstraction["endnotes"].length > 2)
? (to!int(doc_abstraction["endnotes"].length - 2))
@@ -83,7 +83,7 @@ template SiSUabstractionSummary() {
? (to!int(doc_abstraction["bookindex_seg"].length))
: 0,
" last book idx ocn:",
- to!int(check["last_obj_cite_number_bkidx"]),
+ to!int(check["last_object_number_bkidx"]),
"length blurb:",
(doc_abstraction["blurb"].length > 1)
? (to!int(doc_abstraction["blurb"].length))