the new name for index (args.output) will be used for index refernces as well
This commit is contained in:
parent
fb98cc767d
commit
3169b6482f
|
@ -28,7 +28,7 @@
|
||||||
<h1>$(ldoc.project)</h1>
|
<h1>$(ldoc.project)</h1>
|
||||||
# if not ldoc.single then
|
# if not ldoc.single then
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="../index.html">Index</a></li>
|
<li><a href="../$(ldoc.output).html">Index</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
# else
|
# else
|
||||||
<p>$(ldoc.description)</p>
|
<p>$(ldoc.description)</p>
|
||||||
|
|
1
ldoc.lua
1
ldoc.lua
|
@ -648,6 +648,7 @@ function generate_output()
|
||||||
-- write out the per-module documentation
|
-- write out the per-module documentation
|
||||||
if not ldoc.single then
|
if not ldoc.single then
|
||||||
ldoc.css = '../'..css
|
ldoc.css = '../'..css
|
||||||
|
ldoc.output = args.output
|
||||||
for kind, modules in project() do
|
for kind, modules in project() do
|
||||||
kind = kind:lower()
|
kind = kind:lower()
|
||||||
check_directory(args.dir..kind)
|
check_directory(args.dir..kind)
|
||||||
|
|
Loading…
Reference in New Issue