【发布时间】:2013-07-05 14:44:51
【问题描述】:
如题,如何在ubuntu/linux中使用luadoc?我使用批处理文件在 Windows 中生成了文档,但在 ubuntu 中没有成功。有什么想法吗?
luadoc
Usage: /usr/bin/luadoc [options|files]
Generate documentation from files. Available options are:
-d path output directory path
-t path template directory path
-h, --help print this help and exit
--noindexpage do not generate global index page
--nofiles do not generate documentation for files
--nomodules do not generate documentation for modules
--doclet doclet_module doclet module to generate output
--taglet taglet_module taglet module to parse input code
-q, --quiet suppress all normal output
-v, --version print version information
【问题讨论】:
-
你试过
/usr/bin/luadoc [options|files]吗?出了什么问题? -
这似乎与编程无关,可能更适合askubuntu.com 或superuser.com
-
嗨,我试过但得到错误:lua5.1: ./luadoc/doclet/html.lua:224: could not open `index.html' for writing stack traceback: [C]: in函数“断言”./luadoc/doclet/html.lua:224:在函数“开始”/usr/share/lua/5.1/luadoc/init.lua:49:在函数中/share/lua/5.1/ luadoc/init.lua:26>(尾调用):? /usr/bin/luadoc:121: 在主块 [C]: ?
-
是的,Megtz,你也许是对的......但如果你/在 linux 平台上设法生成 lua 文档的人能详细解释一下参数指的是什么,那就太好了?
-
和使用的命令导致了这个错误?
标签: lua documentation-generation luadoc