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("concommand","Console commands", false)
new_type("metamethod","Meta Methods", false)
new_type("server","Server Modules", true)
new_type("client","Client Modules", true)
new_type("shared","Shared Modules", true)
custom_tags = {
{'reqadmin', hidden=false},
}
custom_display_name_handler = function(item,default_handeler)
if item.type == "concommand" then
if item.tags.reqadmin then
return item.name .. " Requires Admin "
end
elseif item.type == "domain" then
if item.tags.domain == "server" then
return "[Server]"
elseif item.tags.domain == "client" then
return "[Client]"
elseif item.tags.domain == "shared" then
return "[Shared]"
end
end
return default_handeler(item)
end
readme = "README.md"
examples = {
"doc/examples"
}