aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_out/source_pod.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/io_out/source_pod.d')
-rw-r--r--src/doc_reform/io_out/source_pod.d4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doc_reform/io_out/source_pod.d b/src/doc_reform/io_out/source_pod.d
index 7c08a89..f61721c 100644
--- a/src/doc_reform/io_out/source_pod.d
+++ b/src/doc_reform/io_out/source_pod.d
@@ -128,6 +128,10 @@ template spinePod() {
pths_pod.doc_lng(doc_matters.src.filename, doc_matters.src.language).filesystem_open_zpod.mkdirRecurse;
}
}
+ if (!exists(pths_pod.pod_dir_() ~ "/index.html")) {
+ auto f = File(pths_pod.pod_dir_() ~"/index.html", "w");
+ f.writeln("");
+ }
if (doc_matters.opt.action.debug_do_pod
&& doc_matters.opt.action.vox_gt1) {
writeln(__LINE__, ": ",