aboutsummaryrefslogtreecommitdiff
path: root/doc/markdowndoc.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-03-10 21:19:26 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2012-03-10 21:19:26 -0500
commitb3c26bdc0688aff1a1c5bc4d0f964be244b0039e (patch)
treeb1cd772a56c5e494f81d06ffb1666ce24a786a57 /doc/markdowndoc.lua
parent1ef52910df3a560d24a1d92e6fe7621a751d6859 (diff)
downloadtextadept-b3c26bdc0688aff1a1c5bc4d0f964be244b0039e.tar.gz
textadept-b3c26bdc0688aff1a1c5bc4d0f964be244b0039e.zip
Replaced doc/gen_manual.lua with new unversioned tool.
Diffstat (limited to 'doc/markdowndoc.lua')
-rw-r--r--doc/markdowndoc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/markdowndoc.lua b/doc/markdowndoc.lua
index 8a661138..6c181a7b 100644
--- a/doc/markdowndoc.lua
+++ b/doc/markdowndoc.lua
@@ -120,10 +120,10 @@ function M.start(doc)
-- Create the header and footer, if given a template.
local header, footer = '', ''
if M.options.template_dir ~= 'luadoc/doclet/html/' then
- local p = io.popen('markdown "'..M.options.template_dir..'header.md"')
+ local p = io.popen('markdown "'..M.options.template_dir..'.header.md"')
template.header = p:read('*all')
p:close()
- p = io.popen('markdown "'..M.options.template_dir..'footer.md"')
+ p = io.popen('markdown "'..M.options.template_dir..'.footer.md"')
template.footer = p:read('*all')
p:close()
end