aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_out/html.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/io_out/html.d')
-rw-r--r--src/doc_reform/io_out/html.d3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/doc_reform/io_out/html.d b/src/doc_reform/io_out/html.d
index 0cbf61e..29f7f4e 100644
--- a/src/doc_reform/io_out/html.d
+++ b/src/doc_reform/io_out/html.d
@@ -533,6 +533,9 @@ template outputHTML() {
}
f.writeln(xhtml_format.tail(doc_matters));
}
+ if (!exists(pth_html.fn_seg(doc_matters.src.filename, "index"))) {
+ symlink("./toc.html", (pth_html.fn_seg(doc_matters.src.filename, "index")));
+ }
} catch (ErrnoException ex) {
// handle error
}