问题描述
问题是所有的标题:如何使用LuaDoc与LuaForWindows?
The question is all in the title : how to use LuaDoc with LuaForWindows ?
在我的Lua安装中,我有一个luadoc_start.bat,但命令窗口关闭很快就会打开
从那里我不知道还能做什么。
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
推荐答案
在中使用 luadoc
Lua For Windows ,命令如下:
For using luadoc
in Lua For Windows, the command is like this:
luadoc_start.bat path\to\lua\file\name.lua
这是在命令提示符窗口或powershell中完成的。
which is to be done in either the command prompt window, or powershell.
对于这个任务,你需要编写一个shell脚本。这是一个小的脚本。
For this task, you'll need to write a shell script. Here's a small powershell script.
$files = Get-ChildItem .\
foreach( $file in $files ) {
luadoc_start.bat "$file"
}
哪里,你必须code> cd 到 path\to\lua\file
目录,并运行此 PS1
文件。
Where, you have to cd
to the path\to\lua\file
directory and run this PS1
file.
这篇关于如何使用LuaDoc与LuaForWindows的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!