Add custom type to LDoc config
parent
c9b8ef2d12
commit
880f25b348
|
@ -4,4 +4,17 @@ format = "markdown"
|
||||||
not_luadoc = true
|
not_luadoc = true
|
||||||
boilerplate = false
|
boilerplate = false
|
||||||
|
|
||||||
file = "api.lua"
|
file = {"settings.lua", "api.lua", "formspec.lua",}
|
||||||
|
|
||||||
|
new_type("setting", "Settings")
|
||||||
|
|
||||||
|
custom_tags = {
|
||||||
|
{
|
||||||
|
"settype",
|
||||||
|
title = "Type",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"default",
|
||||||
|
title = "Default value",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue