aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output_html.d
diff options
context:
space:
mode:
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);