diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2023-06-25 18:18:51 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2023-06-27 17:12:28 -0400 |
commit | 9125357297e005a555586c354be18ea03701d342 (patch) | |
tree | 0ee41623282ae0e886e227caabde551581d73518 /src/doc_reform/io_out/source_pod.d | |
parent | html, bespoke homepage, symlink toc.html index.html (diff) |
replace directory listing, blank index.html
Diffstat (limited to 'src/doc_reform/io_out/source_pod.d')
-rw-r--r-- | src/doc_reform/io_out/source_pod.d | 4 |
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__, ": ", |