mirror of
https://github.com/Reuh/ubiquitousse.git
synced 2025-10-27 09:09:30 +00:00
Add doc for ecs, asset
This commit is contained in:
parent
31472b2a85
commit
d4e2a1d94a
14 changed files with 2938 additions and 592 deletions
23
config.ld
23
config.ld
|
|
@ -8,11 +8,26 @@ See [main module](modules/init.html) for more information, or the [GitHub page](
|
|||
--package = "ubiquitousse"
|
||||
|
||||
format = "discount"
|
||||
style = "!fixed"
|
||||
no_summary = true
|
||||
style = "!new"
|
||||
not_luadoc = true
|
||||
|
||||
custom_tags = { { "require", title="Requires" } }
|
||||
custom_tags = {
|
||||
{ "require", title="Requires" },
|
||||
{ "ftype", title="Type", format = function(x)
|
||||
local firstWord, rest = x:match("^([^%s]*)(.*)$")
|
||||
return ('<code>%s</code>%s'):format(firstWord, rest)
|
||||
end },
|
||||
{ "ro", hidden=true },
|
||||
{ "callback", hidden=true },
|
||||
}
|
||||
custom_display_name_handler = function(item, default_handler)
|
||||
if item.tags.callback then
|
||||
return default_handler(item) .. ' <sup><em>[callback]</em></sup>'
|
||||
elseif item.tags.ro then
|
||||
return default_handler(item) .. ' <sup><em>[read-only]</em></sup>'
|
||||
end
|
||||
return default_handler(item)
|
||||
end
|
||||
|
||||
topics = { "README.md", "LICENSE" }
|
||||
file = { "init.lua", "ldtk/ldtk.can" }
|
||||
file = { "init.lua", "ldtk/ldtk.can", "ecs/ecs.can", "asset/asset.lua" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue