From 83af51534bf16bf048aea1cd3b74a0308ed9dd71 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sun, 26 Nov 2017 21:07:54 -0500 Subject: Started work on writing tutorials Wrote tutorials for * Setup * Addon structure * Inventories * Items --- config.ld | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'config.ld') diff --git a/config.ld b/config.ld index e6eb32f..66884e2 100644 --- a/config.ld +++ b/config.ld @@ -5,7 +5,8 @@ title = 'Artery Documentation' style = '!fixed' use_markdown_titles = true file = { - ".", + "./gamemode", + "./tutorials", exclude={ "gamemode/core/database/sv_mysqlite.lua" } @@ -17,6 +18,7 @@ new_type("metamethod","Meta Methods", false) 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}, } @@ -38,8 +40,16 @@ custom_display_name_handler = function(item,default_handeler) return default_handeler(item) end -readme = "README.md" - -examples = { - "doc/examples" +readme = { + "README.md", + "tutorials/tut000_setup.md", + "tutorials/tut010_first_addon.md", + "tutorials/tut020_nrequire.md", + "tutorials/tut021_detouring.md", + "tutorials/tut030_inventories.md", + "tutorials/tut031_metatables.md", + "tutorials/tut032_more_fields.md", + "tutorials/tut040_items.md", + "tutorials/tut041_not_enough_items.md", + "tutorials/tut042_too_many_items.md", } -- cgit v1.2.3-70-g09d2