aboutsummaryrefslogtreecommitdiff
path: root/config.ld
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-11-08 15:51:26 -0500
committerAlexander Pickering <alexandermpickering@gmail.com>2017-11-08 15:51:26 -0500
commit2252904b8147419c551ad2653a20627281d0531f (patch)
treec1d76a132fa085940dd33d8af99c08dd9da04675 /config.ld
parent07593f0c983ac6b16161829b20ea6fde887fa7e9 (diff)
downloadartery-2252904b8147419c551ad2653a20627281d0531f.tar.gz
artery-2252904b8147419c551ad2653a20627281d0531f.tar.bz2
artery-2252904b8147419c551ad2653a20627281d0531f.zip
Finished LDoc comments
Diffstat (limited to 'config.ld')
-rw-r--r--config.ld16
1 files changed, 16 insertions, 0 deletions
diff --git a/config.ld b/config.ld
index 71cf32f..8477cfa 100644
--- a/config.ld
+++ b/config.ld
@@ -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