Docs cleanup

master
Jordan Irwin 2021-07-07 20:00:40 -07:00
parent 7454048aab
commit 69cd1882b5
6 changed files with 9 additions and 6 deletions

View File

@ -9,7 +9,7 @@
--- List Items API
--
-- @script api.lua
-- @topic api
local S = core.get_translator(listitems.modname)

View File

@ -3,6 +3,7 @@ v0.8
----
- fixed "searching" message to display before search begins
v0.7
----
- always register "mobs" type if mobs mod available

View File

@ -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'}

View File

@ -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}"

View File

@ -7,8 +7,6 @@
See: LICENSE.txt
--]]
--- @script init.lua
listitems = {}
listitems.modname = core.get_current_modname()

View File

@ -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)