config.ld 677 B

123456789101112131415161718192021
  1. dir = "ldoc_output"
  2. file = {".", exclude = {"spec", "mtt.lua", "doc_ui.lua"}}
  3. format = "markdown"
  4. project = "Documentation System Integration for Advtrains"
  5. title = "Manual for advtrains_doc_integration"
  6. readme = "README.md"
  7. local function simple_see_handler(pattern, link)
  8. custom_see_handler(pattern, function(name)
  9. return name, link
  10. end)
  11. end
  12. local MT_API = "https://api.minetest.net"
  13. simple_see_handler("^advtrains%.[%w%._]+$", "https://git.bananach.space/advtrains.git/tree/advtrains/api_doc.txt")
  14. simple_see_handler("^SimpleSoundSpec$", MT_API .. "/sounds/#simplesoundspec")
  15. simple_see_handler("^ItemStack$", MT_API .. "/class-reference/#itemstack")
  16. -- vim: ft=lua