aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/ao_abstract_doc_source.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2016-06-23 00:55:33 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-04 14:48:18 -0400
commita87a80c4528ce1bfd0090b425f4194eddf33699c (patch)
treedeac30591c1617e66a7543015e42a802a80ab61a /src/sdp/ao_abstract_doc_source.d
parentstep5 sdlang used for config files and doc headers (diff)
step5.1 headers sdlang (like native headers) converted to json for common internal formatdoc-reform_v0.0.5
Diffstat (limited to 'src/sdp/ao_abstract_doc_source.d')
-rw-r--r--src/sdp/ao_abstract_doc_source.d10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/sdp/ao_abstract_doc_source.d b/src/sdp/ao_abstract_doc_source.d
index c814c15..aca4944 100644
--- a/src/sdp/ao_abstract_doc_source.d
+++ b/src/sdp/ao_abstract_doc_source.d
@@ -338,11 +338,11 @@ template SiSUdocAbstraction() {
&& ((type["para"] == State.off)
&& (type["heading"] == State.off))) {
/+ heading or para but neither flag nor line exists +/
- // if ((to!string(dochead_make["make"]["headings"]).length > 2)
+ // if ((to!string(dochead_make_json["make"]["headings"]).length > 2)
// && (type["make_headings"] == State.off)) {
// /+ heading found +/
// auto dochead_make_headings =
- // to!string(dochead_make["make"]["headings"]);
+ // to!string(dochead_make_json["make"]["headings"]);
// heading_found(line, dochead_make_headings, heading_match_str, heading_match_rgx, type);
// }
if ((type["make_headings"] == State.on)
@@ -1691,10 +1691,8 @@ template SiSUdocAbstraction() {
assertions_doc_structure(an_object, lv); // includes most of the logic for collapsed levels
switch (an_object["lev"]) {
case "A":
- // an_object["obj"]=replaceFirst(an_object["obj"], rgx.head_value_title, to!string(dochead_metadata["title"]["main"]));
- // an_object["obj"]=replaceFirst(an_object["obj"], rgx.head_value_author, to!string(dochead_metadata["creator"]["author"]));
- // // an_object["obj"]=replaceFirst(an_object["obj"], rgx.head_value_title, to!string(parseJSON(dochead_metadata["title"]["main"])));
- // // an_object["obj"]=replaceFirst(an_object["obj"], rgx.head_value_author, to!string(parseJSON(dochead_metadata["creator"]["author"])));
+ // an_object["obj"]=replaceFirst(an_object["obj"], rgx.variable_doc_title, to!string(dochead_meta_json["title"]["main"]));
+ // an_object["obj"]=replaceFirst(an_object["obj"], rgx.variable_doc_author, to!string(dochead_meta_json["creator"]["author"]));
collapsed_lev["h0"] = 1;
an_object["lev_collapsed_number"] =
to!string(collapsed_lev["h0"]);