summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-08-12 08:53:44 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-08-12 08:53:44 (EDT)
commit14388d68632fc2566d3590e8d1d3fdf44d9895f3 (patch)
tree7fd0cb02a7fa03a84069a2886d31098aa0b473d2 /scripts
parent5c12d9b413ad4459881e7e062ab8e18c2efb3091 (diff)
Add documents to links definitions.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/MarkdownBook/Document/HTML.pm6
1 files changed, 6 insertions, 0 deletions
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 .= '[';