mt_adventure/mods/moreblocks/documentation.lua

13 lines
395 B
Lua

-- moreblocks/documentation.lua
-----Load documentation via doc_helper------------------------
local MP = minetest.get_modpath(minetest.get_current_modname())
local docpath = MP .. DIR_DELIM .. "doc"
doc.add_category("moreblocks",
{
name = "_More Blocks_",
description = "More Blocks",
build_formspec = doc.entry_builders.text_and_square_gallery,
})
doc.build_entries(docpath, "moreblocks")