Docs cleanup
parent
7454048aab
commit
69cd1882b5
2
api.lua
2
api.lua
|
@ -9,7 +9,7 @@
|
|||
|
||||
--- List Items API
|
||||
--
|
||||
-- @script api.lua
|
||||
-- @topic api
|
||||
|
||||
|
||||
local S = core.get_translator(listitems.modname)
|
||||
|
|
|
@ -3,6 +3,7 @@ v0.8
|
|||
----
|
||||
- fixed "searching" message to display before search begins
|
||||
|
||||
|
||||
v0.7
|
||||
----
|
||||
- always register "mobs" type if mobs mod available
|
||||
|
|
|
@ -71,4 +71,4 @@ function custom_display_name_handler(item, default_handler)
|
|||
return default_handler(item)
|
||||
end
|
||||
|
||||
file = {'settings.lua', 'api.lua'}
|
||||
file = {'settings.lua', 'api.lua', 'chat.lua'}
|
||||
|
|
|
@ -7,6 +7,6 @@ CONFIG="${DOCS}/config.ld"
|
|||
cd "${ROOT}"
|
||||
|
||||
# Clean old files
|
||||
rm -rf "${DOCS}/api.html" "${DOCS}/scripts" "${DOCS}/modules"
|
||||
rm -rf "${DOCS}/api.html" "${DOCS}/scripts" "${DOCS}/modules" "${DOCS}/topics"
|
||||
# Create new files
|
||||
ldoc -c "${CONFIG}" -d "${DOCS}" -o "api" "${ROOT}"
|
||||
|
|
2
init.lua
2
init.lua
|
@ -7,8 +7,6 @@
|
|||
See: LICENSE.txt
|
||||
--]]
|
||||
|
||||
--- @script init.lua
|
||||
|
||||
|
||||
listitems = {}
|
||||
listitems.modname = core.get_current_modname()
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
--- List Items settings
|
||||
--
|
||||
-- @script settings.lua
|
||||
-- @topic settings
|
||||
|
||||
|
||||
listitems.debug = core.settings:get_bool("enable_debug_mods", false)
|
||||
|
@ -26,4 +26,8 @@ listitems.bullet_list = core.settings:get_bool("listitems.bullet_list", true)
|
|||
|
||||
|
||||
--- Registers "/list<type>" commands.
|
||||
--
|
||||
-- @setting listitems.enable_singleword
|
||||
-- @settype boolean
|
||||
-- @default true
|
||||
listitems.enable_singleword = core.settings:get_bool("listitems.enable_singleword", true)
|
||||
|
|
Loading…
Reference in New Issue