luadoc

lua - metadata for documentation

半世苍凉 提交于 2019-12-10 20:10:02
问题 I've read a comment from Norman Ramsey about using metadata for generating documentation in lua. I'm attempting to generate documentation from my lib, and I'd rather not use luadoc if possible. I'd like to know more about this "metadata-oriented" method for generating documentation - methodology, examples, or programs used. Other answers are welcome, but this is a question that probably Norman can answer better than anyone else. Thanks! 回答1: Well, I suppose I should answer this. The code is

How to use LuaDoc with LuaForWindows

柔情痞子 提交于 2019-12-02 04:52:21
问题 The question is all in the title : how to use LuaDoc with LuaForWindows ? In my Lua installation, I have a luadoc_start.bat but the command windows closes as soon as it opens. From there I don't know what else can I do. Any help ? Thanks 回答1: For using luadoc in Lua For Windows , the command is like this: luadoc_start.bat path\to\lua\file\name.lua which is to be done in either the command prompt window, or powershell. I get a doc file to properly generate but how to do it for the whole