aboutsummaryrefslogtreecommitdiff
path: root/config.ld
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-11-26 21:07:54 -0500
committerAlexander Pickering <alexandermpickering@gmail.com>2017-11-26 21:07:54 -0500
commit83af51534bf16bf048aea1cd3b74a0308ed9dd71 (patch)
treeff82f3e6dd841633b1355b73181bcae607ee1138 /config.ld
parent25e4d04a331a6a0b9d897d4f721757730771ff97 (diff)
downloadartery-83af51534bf16bf048aea1cd3b74a0308ed9dd71.tar.gz
artery-83af51534bf16bf048aea1cd3b74a0308ed9dd71.tar.bz2
artery-83af51534bf16bf048aea1cd3b74a0308ed9dd71.zip
Started work on writing tutorials
Wrote tutorials for * Setup * Addon structure * Inventories * Items
Diffstat (limited to 'config.ld')
-rw-r--r--config.ld20
1 files changed, 15 insertions, 5 deletions
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",
}