aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/output
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-10-22 19:32:45 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2019-11-18 14:59:47 -0500
commit02714184258c9be072857ddcc03bc114b2e843d1 (patch)
tree9818170940f4db2334c54059869819f07f57a10d /src/doc_reform/output
parentmultilingual pods, zipped source (diff)
cosmetic
Diffstat (limited to 'src/doc_reform/output')
-rw-r--r--src/doc_reform/output/latex.d2
-rw-r--r--src/doc_reform/output/paths_output.d20
-rw-r--r--src/doc_reform/output/source_pod.d4
-rw-r--r--src/doc_reform/output/xmls.d22
4 files changed, 24 insertions, 24 deletions
diff --git a/src/doc_reform/output/latex.d b/src/doc_reform/output/latex.d
index 0444d5b..da509ac 100644
--- a/src/doc_reform/output/latex.d
+++ b/src/doc_reform/output/latex.d
@@ -1169,7 +1169,7 @@ string table(O,M)(
(pth_latex.latex_path_stuff).mkdirRecurse;
}
if (!(doc_matters.opt.action.quiet)) {
- writeln(pth_latex.latex_file_with_path);
+ writeln(" ", pth_latex.latex_file_with_path);
}
auto f = File(pth_latex.latex_file_with_path, "w");
f.writeln(latex_content.head);
diff --git a/src/doc_reform/output/paths_output.d b/src/doc_reform/output/paths_output.d
index 048f9e9..26b3509 100644
--- a/src/doc_reform/output/paths_output.d
+++ b/src/doc_reform/output/paths_output.d
@@ -139,7 +139,7 @@ template DocReformPathsHTML() {
mixin DocReformRgxInit;
static auto rgx = Rgx();
auto DocReformPathsHTML()(
- string root_pth,
+ string output_path_root,
string lng,
) {
auto doc_tree = DocReformDocRootTreeHTML!()(lng);
@@ -147,34 +147,34 @@ template DocReformPathsHTML() {
string suffix = ".html";
struct _PathsStruct {
string doc_root() {
- return ((root_pth.chainPath(doc_tree.doc_root)).asNormalizedPath).array;
+ return ((output_path_root.chainPath(doc_tree.doc_root)).asNormalizedPath).array;
}
string harvest(string fn_harvest) {
return doc_root ~ "/" ~ fn_harvest;
}
string base() {
- return ((root_pth.chainPath(doc_tree.base)).asNormalizedPath).array;
+ return ((output_path_root.chainPath(doc_tree.base)).asNormalizedPath).array;
}
string image() {
- return ((root_pth.chainPath(doc_tree.image)).asNormalizedPath).array;
+ return ((output_path_root.chainPath(doc_tree.image)).asNormalizedPath).array;
}
string css() {
- return ((root_pth.chainPath(doc_tree.css)).asNormalizedPath).array;
+ return ((output_path_root.chainPath(doc_tree.css)).asNormalizedPath).array;
}
string fn_seg_css() {
- return ((root_pth.chainPath(doc_tree.fn_seg_css)).asNormalizedPath).array;
+ return ((output_path_root.chainPath(doc_tree.fn_seg_css)).asNormalizedPath).array;
}
string fn_scroll_css() {
- return ((root_pth.chainPath(doc_tree.fn_scroll_css)).asNormalizedPath).array;
+ return ((output_path_root.chainPath(doc_tree.fn_scroll_css)).asNormalizedPath).array;
}
string seg(string fn_src) {
- return ((root_pth.chainPath(doc_tree.seg(fn_src))).asNormalizedPath).array;
+ return ((output_path_root.chainPath(doc_tree.seg(fn_src))).asNormalizedPath).array;
}
string fn_scroll(string fn_src) {
- return ((root_pth.chainPath(doc_tree.fn_scroll(fn_src))).asNormalizedPath).array;
+ return ((output_path_root.chainPath(doc_tree.fn_scroll(fn_src))).asNormalizedPath).array;
}
string fn_seg(string fn_src, string seg_filename) {
- return ((root_pth.chainPath(doc_tree.fn_seg(fn_src, seg_filename))).asNormalizedPath).array;
+ return ((output_path_root.chainPath(doc_tree.fn_seg(fn_src, seg_filename))).asNormalizedPath).array;
}
string tail_seg(string fn_src) {
return doc_tree.tail_seg(fn_src);
diff --git a/src/doc_reform/output/source_pod.d b/src/doc_reform/output/source_pod.d
index 3b1261b..cff5ba8 100644
--- a/src/doc_reform/output/source_pod.d
+++ b/src/doc_reform/output/source_pod.d
@@ -184,7 +184,7 @@ template DocReformPod() {
}
}
} { /+ bundle primary file (.ssm/.sst) +/
- auto fn_src_in = doc_matters.src.file_with_absolute_path.to!string; // original source file, inlcudes language code
+ auto fn_src_in = doc_matters.src.file_with_absolute_path.to!string;
auto fn_src_out_pod_zip_base
= pths_pod.fn_doc(doc_matters.src.filename, doc_matters.src.language).zpod.to!string;
auto fn_src_out_filesystem
@@ -328,7 +328,7 @@ template DocReformPod() {
writeln(" ", doc_matters.src.filename, " > ");
}
if (doc_matters.opt.action.pod) {
- writefln(" %s\n %s %-(%02x%)", fn_pod, "sha256", data.sha256Of);
+ writefln(" %s\n %s %-(%02x%)", fn_pod, "sha256", data.sha256Of);
}
}
debug(pod) {
diff --git a/src/doc_reform/output/xmls.d b/src/doc_reform/output/xmls.d
index 57277b5..f0420fe 100644
--- a/src/doc_reform/output/xmls.d
+++ b/src/doc_reform/output/xmls.d
@@ -707,17 +707,17 @@ template outputXHTMLs() {
%s
</h%s>
</div>┃",
- _horizontal_rule,
- obj.metainfo.identifier,
- (doc_matters.opt.action.ocn_off) ? "" : ((obj.metainfo.object_number.empty) ? "" : obj.metainfo.identifier),
- obj.metainfo.heading_lev_markup,
- obj.metainfo.is_a,
- obj.metainfo.identifier,
- obj.metainfo.identifier,
- tags,
- heading_lev_anchor_tag,
- _txt,
- obj.metainfo.heading_lev_markup,
+ _horizontal_rule,
+ obj.metainfo.identifier,
+ (doc_matters.opt.action.ocn_off) ? "" : ((obj.metainfo.object_number.empty) ? "" : obj.metainfo.identifier),
+ obj.metainfo.heading_lev_markup,
+ obj.metainfo.is_a,
+ obj.metainfo.identifier,
+ obj.metainfo.identifier,
+ tags,
+ heading_lev_anchor_tag,
+ _txt,
+ obj.metainfo.heading_lev_markup,
);
} else {
o = format(q"┃%s