aboutsummaryrefslogtreecommitdiff
path: root/config.ld
blob: 8477cfa4d065586e06757c452b01d4b0aba2b5ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
project = 'Artery'
description = 'Artery gamemode base'
full_description = 'A hefty gamemode base for making rpgs in Garrys Mod'
title = 'Artery Documentation'
style = '!fixed'
use_markdown_titles = true
file = {
	".",
	exclude={
		"gamemode/core/database/sv_mysqlite.lua"
	}
}
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