great renaming: moved everything into ldoc module tree
This commit is contained in:
parent
c694526232
commit
1dd35e86a0
4
ldoc.lua
4
ldoc.lua
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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 = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue