diff --git a/luacs-docs/lua/templates/ldoc.ltp b/luacs-docs/lua/templates/ldoc.ltp index fe92540f7..fa6975185 100644 --- a/luacs-docs/lua/templates/ldoc.ltp +++ b/luacs-docs/lua/templates/ldoc.ltp @@ -20,6 +20,11 @@ end function ldoc.sidebar_item(item, module) local text = "" + text = text .. ldoc.realm_icon(item.tags.realm[1]) + text = text .. "" + local deprecated = item.tags.deprecated if deprecated then text = text .. "" @@ -27,11 +32,6 @@ function ldoc.sidebar_item(item, module) text = text .. "" end - text = text .. ldoc.realm_icon(item.tags.realm[1]) - text = text .. "" - if ldoc.is_kind_classmethod(module.kind) then text = text .. item.name:gsub(".+:", "") else @@ -39,8 +39,8 @@ function ldoc.sidebar_item(item, module) end text = text - .. "" .. "" + .. "" return text end