# local iter = ldoc.modules.iter # local M = ldoc.markup

Module $(module.name)

$(M(module.summary))

# for kind, items in module.kinds() do

$(kind)

# for item in items() do ldoc.item = item -- provides context for M()
$(ldoc.display_name(item))

$(item.summary)

# if item.params and #item.params > 0 then $(module.kinds:type_of(item).subnames):
# for p in iter(item.params) do
$(p):
$(M(item.params.map[p]))
# end -- for
# end -- if params # if item.ret then

Returns: $(item.ret[1])

# end -- if returns # if item.usage then

Usage:

$(item.usage[1])
# end -- if usage # if item.see then See also: $(item.see[1].label) # end -- if see # end -- for items
# end -- for kinds