From 14388d68632fc2566d3590e8d1d3fdf44d9895f3 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 12 Aug 2012 08:53:44 -0400 Subject: Add documents to links definitions. --- diff --git a/scripts/MarkdownBook/Document/HTML.pm b/scripts/MarkdownBook/Document/HTML.pm index 9d714c0..5b3faca 100644 --- a/scripts/MarkdownBook/Document/HTML.pm +++ b/scripts/MarkdownBook/Document/HTML.pm @@ -36,6 +36,12 @@ sub output $text .= "\n\n"; foreach $doc (@{$self->{'book'}->documents()}) { + $text .= "\n"; + $text .= '['; + $text .= $doc->file(); + $text .= ']: '; + $text .= $doc->file(); + $text .= '.html'; foreach $sec (@{$doc->sections()}) { $text .= "\n"; $text .= '['; -- cgit v0.9.1