the new name for index (args.output) will be used for index refernces as well

This commit is contained in:
steve donovan 2011-07-03 18:22:45 +02:00
parent fb98cc767d
commit 3169b6482f
2 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,7 @@
<h1>$(ldoc.project)</h1>
# if not ldoc.single then
<ul>
<li><a href="../index.html">Index</a></li>
<li><a href="../$(ldoc.output).html">Index</a></li>
</ul>
# else
<p>$(ldoc.description)</p>

View File

@ -648,6 +648,7 @@ function generate_output()
-- write out the per-module documentation
if not ldoc.single then
ldoc.css = '../'..css
ldoc.output = args.output
for kind, modules in project() do
kind = kind:lower()
check_directory(args.dir..kind)