aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_out/source_pod.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-02-23 15:11:39 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2022-02-25 19:41:09 -0500
commit20a36744ada25bf063199a24fe3eebe85f056235 (patch)
tree1f00bcdb4137ce2eb0030f4f44fb0c57053aed58 /src/doc_reform/io_out/source_pod.d
parentrethink verbose & debug flags, introduce show (diff)
verbosity level, "vox_gt[lv]" (voice greater than)
Diffstat (limited to 'src/doc_reform/io_out/source_pod.d')
-rw-r--r--src/doc_reform/io_out/source_pod.d20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/doc_reform/io_out/source_pod.d b/src/doc_reform/io_out/source_pod.d
index 4b59116..14d63d7 100644
--- a/src/doc_reform/io_out/source_pod.d
+++ b/src/doc_reform/io_out/source_pod.d
@@ -105,7 +105,7 @@ template spinePod() {
pths_pod.pod_dir_().mkdirRecurse;
}
if (doc_matters.opt.action.source_or_pod) {
- if (!(doc_matters.opt.action.quiet)) {
+ if (doc_matters.opt.action.vox_gt0) {
writeln(" ", pths_pod.fn_pod_filelist(doc_matters.src.filename).filesystem_open_zpod);
}
if (!exists(pths_pod.text_root(doc_matters.src.filename).filesystem_open_zpod)) {
@@ -128,7 +128,7 @@ template spinePod() {
}
}
if (doc_matters.opt.action.debug_do_pod
- && doc_matters.opt.action.verbose) {
+ && doc_matters.opt.action.vox_gt1) {
writeln(__LINE__, ": ",
doc_matters.src.filename, " -> ",
pths_pod.fn_doc(doc_matters.src.filename, doc_matters.src.language).filesystem_open_zpod
@@ -163,7 +163,7 @@ template spinePod() {
}
} else {
if (doc_matters.opt.action.debug_do_pod
- && doc_matters.opt.action.verbose) {
+ && doc_matters.opt.action.vox_gt1) {
writeln("WARNING (io) src out NOT found (image): ", fn_src_in);
}
}
@@ -190,7 +190,7 @@ template spinePod() {
}
} else {
if (doc_matters.opt.action.debug_do_pod
- && doc_matters.opt.action.verbose) {
+ && doc_matters.opt.action.vox_gt1) {
writeln("WARNING (io) src out NOT found (document make): ", fn_src_in);
}
}
@@ -217,7 +217,7 @@ template spinePod() {
Node _pmy;
string _pm = "doc:\n filename: " ~ doc_matters.src.filename ~ "\n language: " ~ doc_matters.pod.manifest_list_of_languages.to!string ~ "\n";
if (doc_matters.opt.action.debug_do_pod
- && doc_matters.opt.action.verbose) {
+ && doc_matters.opt.action.vox_gt1) {
try {
_pmy = Loader.fromString(_pm).load();
} catch (ErrnoException ex) {
@@ -280,7 +280,7 @@ template spinePod() {
}
} else {
if (doc_matters.opt.action.debug_do_pod
- && doc_matters.opt.action.verbose) {
+ && doc_matters.opt.action.vox_gt1) {
writeln("WARNING (io) src in NOT found (markup source): ", fn_src_in);
}
}
@@ -323,7 +323,7 @@ template spinePod() {
}
} else {
if (doc_matters.opt.action.debug_do_pod
- && doc_matters.opt.action.verbose) {
+ && doc_matters.opt.action.vox_gt1) {
writeln("WARNING (io) src out NOT found (insert file): ", _pth_mkup_src_in);
}
}
@@ -355,7 +355,7 @@ template spinePod() {
}
} else {
if (doc_matters.opt.action.debug_do_pod
- && doc_matters.opt.action.verbose) {
+ && doc_matters.opt.action.vox_gt1) {
writeln("WARNING (io) src out NOT found (insert file): ", fn_src_in);
}
}
@@ -377,10 +377,10 @@ template spinePod() {
}
if (exists(fn_pod)) {
try {
- if (!(doc_matters.opt.action.quiet)
+ if (doc_matters.opt.action.vox_gt0
&& doc_matters.opt.action.pod) {
auto data = (cast(byte[]) (fn_pod).read);
- if (doc_matters.opt.action.verbose) {
+ if (doc_matters.opt.action.vox_gt1) {
writeln(" ", doc_matters.src.filename, " > ");
}
if (doc_matters.opt.action.pod) {