aboutsummaryrefslogtreecommitdiff
path: root/config.ld
diff options
context:
space:
mode:
Diffstat (limited to 'config.ld')
-rw-r--r--config.ld16
1 files changed, 12 insertions, 4 deletions
diff --git a/config.ld b/config.ld
index 78f49aa..b6337c2 100644
--- a/config.ld
+++ b/config.ld
@@ -13,11 +13,13 @@ file = {
}
format = 'markdown'
sort_modules = true
-new_type("concommand","Console commands", false)
-new_type("metamethod","Meta Methods", false)
+new_type("concommand","Console commands", true)
+new_type("metamethod","Meta Methods", true)
+
new_type("server","Server Modules", true)
new_type("client","Client Modules", true)
new_type("shared","Shared Modules", true)
+
new_type("tutorial","Tutorials",true)
custom_tags = {
{'reqadmin', hidden=false},
@@ -26,6 +28,9 @@ custom_tags = {
custom_display_name_handler = function(item,default_handeler)
if item.type == "concommand" then
if item.tags.reqadmin then
+ for k,v in pairs(item) do
+ print(k,":",v)
+ end
return item.name .. " <em class=\"reqadmin\">Requires Admin</em> "
end
elseif item.type == "domain" then
@@ -39,9 +44,11 @@ custom_display_name_handler = function(item,default_handeler)
end
return default_handeler(item)
end
+style = "doc"
+readme = {"README.md"}
-readme = {
- "README.md",
+--[[
+examples = {
"tutorials/tut000_setup.md",
"tutorials/tut010_first_addon.md",
"tutorials/tut020_nrequire.md",
@@ -54,3 +61,4 @@ readme = {
"tutorials/tut042_too_many_items.md",
"tutorials/tut050_entities.md",
}
+]]