mirror of
https://codeberg.org/AntumLuanti/mod-cleaner.git
synced 2025-03-15 12:51:22 +00:00
Support "chatcmd" & "setting" types in LDoc generation
This commit is contained in:
parent
2d7c5aee1f
commit
13a6fd04be
2 changed files with 21 additions and 1 deletions
|
@ -2,3 +2,23 @@ project = "Cleaner"
|
|||
title = "Cleaner mod for Minetest"
|
||||
format = "markdown"
|
||||
boilerplate = false
|
||||
|
||||
file = {
|
||||
"settings.lua",
|
||||
"api.lua",
|
||||
"chat.lua",
|
||||
}
|
||||
|
||||
new_type("chatcmd", "Chat Commands")
|
||||
new_type("setting", "Settings")
|
||||
|
||||
custom_tags = {
|
||||
{
|
||||
"settype",
|
||||
title = "Setting Type",
|
||||
},
|
||||
{
|
||||
"default",
|
||||
title = "Default Value",
|
||||
},
|
||||
}
|
||||
|
|
|
@ -10,4 +10,4 @@ cd "${root}"
|
|||
rm -rf "${docs}/reference"
|
||||
|
||||
# Create new files
|
||||
ldoc -c "${config}" -d "${docs}/reference" "${root}/api.lua"
|
||||
ldoc -c "${config}" -d "${docs}/reference" "${root}"
|
||||
|
|
Loading…
Add table
Reference in a new issue