{{mod.name}}

{* ldoc.markup(mod.summary) *}

{* ldoc.markup(mod.description) *}

{% local kinds = {} local kindsIpairs = {} for kind, items in mod.kinds() do local name = kind if kind == "Tables" then name = "Fields" end for item in items() do if kinds[name] == nil then kinds[name] = {} local value = {} value.kind = name value.items = kinds[name] table.insert(kindsIpairs, value) end kinds[name][item] = true end end %} {% for i, value in ipairs(kindsIpairs) do local kind = value.kind local items = value.items %}

{{kind}}

{% for item, _ in pairs(items) do %}
{* ldoc.item_header(item) *} {% if item.tags.deprecated then %}
Deprecated

This API is deprecated and shouldn't be used anymore.

{% end %} {% if (item.tags.internal) then %}
Internal

This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.

{% end %} {% if (ldoc.descript(item):len() == 0) then %}
Incomplete

Documentation for this section is incomplete and needs expanding.

{% else %}

{* ldoc.markup(ldoc.descript(item)) *}

{% end %}
{# function arguments #} {% if (item.params and #item.params > 0) then %} {% local subnames = mod.kinds:type_of(item).subnames %} {% if (subnames) then %}

{{subnames}}

{% end %} {% for argument in ldoc.modules.iter(item.params) do %} {% local argument, sublist = item:subparam(argument) %} {% end %} {% end %} {# function returns #} {% if ((not ldoc.no_return_or_parms) and item.retgroups) then %} {% local groups = item.retgroups %}

Returns

{% end %} {% if (item.usage) then -- function usage %}

Example Usage

{% for usage in ldoc.modules.iter(item.usage) do %}
{* usage *}
{% end %} {% end %} {% if (item.see) then %}

See Also

{% end %}
{% end %} {% end %}