ldoc.output was not set before the index

This commit is contained in:
steve donovan 2011-07-14 15:27:16 +02:00
parent 742370d3ff
commit 0b181d3b66
2 changed files with 2 additions and 5 deletions

View File

@ -139,10 +139,7 @@ local function read_ldoc_config (fname)
return directory, not_found
end
local function quote (s)
return "'"..s.."'"
end
local quote = tools.quote
--- processing command line and preparing for output ---
local F

View File

@ -88,6 +88,7 @@ function html.generate_output(ldoc, args, project)
end
local css = ldoc.css
ldoc.output = args.output
-- in single mode there is one module and the 'index' is the
-- documentation for that module.
@ -116,7 +117,6 @@ function html.generate_output(ldoc, args, project)
-- in single mode, we exclude any modules since the module has been done;
-- this step is then only for putting out any examples or topics
ldoc.css = '../'..css
ldoc.output = args.output
for kind, modules in project() do
kind = kind:lower()
if not ldoc.single or ldoc.single and kind ~= 'modules' then