From 6afb70afaeb47b3c421d0a72d0f824d5676427d2 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sun, 15 Jul 2018 19:58:37 -0400 Subject: Updated documentation * Updated logo * Started a file to make custom css * Updated some documentation --- config.ld | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'config.ld') 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 .. " Requires Admin " 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", } +]] -- cgit v1.2.3-70-g09d2