diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-11-08 15:51:26 -0500 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-11-08 15:51:26 -0500 |
| commit | 2252904b8147419c551ad2653a20627281d0531f (patch) | |
| tree | c1d76a132fa085940dd33d8af99c08dd9da04675 /config.ld | |
| parent | 07593f0c983ac6b16161829b20ea6fde887fa7e9 (diff) | |
| download | artery-2252904b8147419c551ad2653a20627281d0531f.tar.gz artery-2252904b8147419c551ad2653a20627281d0531f.tar.bz2 artery-2252904b8147419c551ad2653a20627281d0531f.zip | |
Finished LDoc comments
Diffstat (limited to 'config.ld')
| -rw-r--r-- | config.ld | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -14,3 +14,19 @@ format = 'markdown' sort_modules = true new_type("domain","Domain") new_type("concommand","Console commands", false, ...) +new_type("metamethod","Meta Methods", false) +custom_tags = { + {'reqadmin', hidden=false}, + {'domain', hidden=false} +} + +custom_display_name_handler = function(item,default_handeler) + if item.type == "function" then + if item.tags.reqadmin then + return item.name .. "<strong>Requires Admin</strong>" + elseif item.tags.domain then + return item.name .. "Domain:" + end + end + return default_handeler(item) +end |
