在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):keplerproject/luadoc开源软件地址(OpenSource Url):https://github.com/keplerproject/luadoc开源编程语言(OpenSource Language):Lua 88.3%开源软件介绍(OpenSource Introduction):LuaDoc is obsolete, use LDoc instead. LuaDoc, version 3.0 What is it?LuaDoc is a documentation generator tool for Lua source code. It parses the declarations and documentation comments in a set of Lua source files and produces a set of XHTML pages describing the commented declarations and functions. The output is not limited to XHTML. Other formats can be generated by implementing new doclets. The format of the documentation comments is also flexible and can be customized by implementing new taglets. Please refer to customizing section for further information. LuaDoc is free software and uses the same license as Lua. Distribution:This distribution includes a set of Lua files and this README. It requires Lua 5.1. Installation:LuaDoc tool is composed by two parts, a library, and a launcher script. The library follows the package model for Lua 5.1, therefore it should be "installed". The launcher script, namely luadoc.lua for Unix and luadoc.bat for Windows, should be installed in your system PATH, so that it can be executed. LuaDoc also depends on two external packages: LuaFileSystem and LuaLogging, and you'll need to install them accordingly. On Unix boxes, the file luadoc.lua could be used as a script; it's the same as:
This is the main script: it will load LuaDoc library and process the specified files. Try luadoc.lua --help, it will show you all available options. How does it work?LuaDoc works in two phases: analysis and synthesis. On the first one, all input files are analyzed and an intermediate structure is made with this information. The second phase is responsible for cross-reference and the composition of the output. Each phase has an engine file and one or more description files, that describe the source format and the output format. This distribution only have a description of Lua source files and another for HTML output files. Some technical documentation can be built running LuaDoc over its files. Please send any comments and bug reports to [email protected] |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论