aboutsummaryrefslogtreecommitdiff
path: root/config.ld
diff options
context:
space:
mode:
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