aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output_html.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-03-07 09:11:09 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit5a4df097b2976c24c449c56cf035995edfb1261e (patch)
tree9112c6f32f1b9a8d7cdc7849754d6b8f602de0c5 /src/sdp/output_html.d
parentorg files minor touches (diff)
0.13.6 dlang function calls, syntax (ufcs related), logic should be retained
Diffstat (limited to 'src/sdp/output_html.d')
-rw-r--r--src/sdp/output_html.d8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sdp/output_html.d b/src/sdp/output_html.d
index cc330b2..6d4e0c5 100644
--- a/src/sdp/output_html.d
+++ b/src/sdp/output_html.d
@@ -177,7 +177,7 @@ template outputHTML() {
auto pth_html = HtmlPaths();
try {
if (!exists(pth_html.base)) {
- mkdirRecurse(pth_html.base);
+ pth_html.base.mkdirRecurse;
}
auto f = File(pth_html.fn_scroll(fn_src), "w");
foreach (o; doc) {
@@ -405,10 +405,10 @@ template outputHTML() {
mixin SiSUpaths;
auto pth_html = HtmlPaths();
auto xhtml_format = outputXHTMLs();
- auto m = matchFirst(doc_matters.source_filename, rgx.src_fn);
+ auto m = doc_matters.source_filename.matchFirst(rgx.src_fn);
try {
if (!exists(pth_html.seg(doc_matters.source_filename))) {
- mkdirRecurse(pth_html.seg(doc_matters.source_filename));
+ pth_html.seg(doc_matters.source_filename).mkdirRecurse;
}
foreach (seg_filename; doc_matters.segnames) {
auto f = File(pth_html.fn_seg(doc_matters.source_filename, seg_filename), "w");
@@ -1263,7 +1263,7 @@ template outputHTML() {
auto pth_css_fn= pth_css ~ "/html.css";
try {
if (!exists(pth_css)) {
- mkdirRecurse(pth_css);
+ pth_css.mkdirRecurse;
}
auto f = File(pth_css_fn, "w");
f.writeln(html_css);