diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2017-11-18 16:00:29 -0500 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2017-11-18 16:00:29 -0500 |
| commit | 25e4d04a331a6a0b9d897d4f721757730771ff97 (patch) | |
| tree | 4f410e968ea6e377c53e55e92a495f47a9e504a7 /config.ld | |
| parent | 8ed7aec95941c0752a0ae21d10594579c39677fb (diff) | |
| download | artery-25e4d04a331a6a0b9d897d4f721757730771ff97.tar.gz artery-25e4d04a331a6a0b9d897d4f721757730771ff97.tar.bz2 artery-25e4d04a331a6a0b9d897d4f721757730771ff97.zip | |
More documentation
* Documented the item table
* Documented the inventory table
* Started writing tutorials
Diffstat (limited to 'config.ld')
| -rw-r--r-- | config.ld | 22 |
1 files changed, 15 insertions, 7 deletions
@@ -12,26 +12,34 @@ file = { } format = 'markdown' sort_modules = true -new_type("domain","Domain",false) 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=true}, - {'domain', hidden=true} + {'reqadmin', hidden=false}, } custom_display_name_handler = function(item,default_handeler) - if item.type == "function" then + if item.type == "concommand" then if item.tags.reqadmin then - return item.name .. "<strong>Requires Admin</strong>" - elseif item.tags.domain then - return item.name .. "Domain:" + return item.name .. " <em class=\"reqadmin\">Requires Admin</em> " + end + elseif item.type == "domain" then + if item.tags.domain == "server" then + return "<strong class=\"server\">[Server]</strong>" + elseif item.tags.domain == "client" then + return "<strong class=\"client\">[Client]</strong>" + elseif item.tags.domain == "shared" then + return "<strong class=\"shared\">[Shared]</strong>" end end return default_handeler(item) end readme = "README.md" + +examples = { + "doc/examples" +} |
