great renaming: moved everything into ldoc module tree

This commit is contained in:
steve donovan 2011-09-20 12:59:34 +02:00
parent c694526232
commit 1dd35e86a0
18 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ local args = lapp(usage)
local doc = require 'ldoc.doc'
local lang = require 'ldoc.lang'
local tools = require 'ldoc.tools'
local global = require 'builtin.globals'
local global = require 'ldoc.builtin.globals'
local markup = require 'ldoc.markup'
local parse = require 'ldoc.parse'
local KindMap = tools.KindMap
@ -501,7 +501,7 @@ if args.style == '!' or args.template == '!' then
lfs.mkdir(tmpdir)
end
local function tmpwrite (name)
utils.writefile(path.join(tmpdir,name),require('html.'..name:gsub('%.','_')))
utils.writefile(path.join(tmpdir,name),require('ldoc.html.'..name:gsub('%.','_')))
end
if args.style == '!' then
tmpwrite(ldoc.templ)

View File

@ -5,7 +5,7 @@
require 'pl'
local doc = {}
local global = require 'builtin.globals'
local global = require 'ldoc.builtin.globals'
local tools = require 'ldoc.tools'
local split_dotted_name = tools.split_dotted_name

View File

@ -5,7 +5,7 @@
-- `@{example:test-fun}`.
require 'pl'
local lexer = require 'ldoc.lexer'
local globals = require 'builtin.globals'
local globals = require 'ldoc.builtin.globals'
local tnext = lexer.skipws
local prettify = {}