# local no_spaces = ldoc.no_spaces # local use_li = ldoc.use_li # local display_name = ldoc.display_name # local iter = ldoc.modules.iter # local function M(txt,item) return ldoc.markup(txt,item,ldoc.plain) end # local nowrap = ldoc.wrap and '' or 'nowrap' # local orig_ldoc_href = ldoc.href # local function H(see) # local ref = orig_ldoc_href(see) # ref = ref:gsub('index.html', '') # return ref # end # ldoc.href = H

$(ldoc.project)

# if ldoc.body then -- verbatim HTML as contents; 'non-code' entries $(ldoc.body) # elseif module then -- module documentation

$(M(module.summary,module))

$(M(module.description,module))

# if module.tags.include then $(M(ldoc.include_file(module.tags.include))) # end # if module.usage then # local li,il = use_li(module.usage)

Usage:

    # for usage in iter(module.usage) do $(li)
    $(ldoc.escape(usage))
    $(il) # end -- for
# end -- if usage # if module.info then

Info:

    # for tag, value in module.info:iter() do
  • $(tag): $(M(value,module))
  • # end
# end -- if module.info # --- currently works for both Functions and Tables. The params field either contains # --- function parameters or table fields. # local show_return = not ldoc.no_return_or_parms # local show_parms = show_return # for kind, items in module.kinds() do # local section_link_name = kind:gsub("Class ", ""):gsub(" ", "") # end -- for kinds # else -- if module; project-level contents # if ldoc.description then

$(M(ldoc.description,nil))

# end # if ldoc.full_description then

$(M(ldoc.full_description,nil))

# end # for kind, mods in ldoc.kinds() do

$(kind)

# kind = kind:lower() # for m in mods() do # end -- for modules
$(m.name) $(M(ldoc.strip_header(m.summary),m))
# end -- for kinds # end -- if module
Generated by LDoc 1.4.3 Last updated $(ldoc.updatetime)