You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having trouble running ldoc with a config file. I'm able to run using the following command and it generates documentation just fine.
ldoc ./lua/ -d ./lua/doc -f markdown
Where ldoc is aliased to my Lua for Windows install and the ldoc.lua file.
# ~/.bashrc# Adding system lua as aliasalias slua="\"/c/Program Files (x86)/Lua/5.1/lua.exe\""# Adding LDoc as alias
ldocLua="\"/c/Users/AleX/bin/lua/LDoc/ldoc.lua\""# Adding a lua doc command to generate lua docsalias ldoc="slua \"$ldocLua\"$@"
However; when I try to get a little more complex with my documentation (or streamline) by adding a config file in ANY WAY, I get the following error.
AleX@yennefer:~/x/DFCP-ME/bin/lua € ldoc .
reading configuration from config.ld
C:\Program Files (x86)\Lua\5.1\lua.exe: C:/Users/AleX/bin/lua/LDoc/ldoc.lua:265: bad argument #1 to 'load' (function expected, got string)
stack traceback:
[C]: in function 'load'
C:/Users/AleX/bin/lua/LDoc/ldoc.lua:265: in function 'loadstr'
C:/Users/AleX/bin/lua/LDoc/ldoc.lua:287: in function 'read_ldoc_config'
C:/Users/AleX/bin/lua/LDoc/ldoc.lua:333: in main chunk
[C]: ?
I've tried not specifying input file in the config file per #351, but didn't have any success. I even cloned the pull request for that issue without success.
I'm sure it's just something simple I have/haven't done with my setup that I'm missing, just looking for some guidance.
The text was updated successfully, but these errors were encountered:
I'm unable to in this specific context as I'm using a bash terminal on windows; but, since the process without a config file is working fine, I'm assuming this error isn't the reference to the interpreter.
Having trouble running ldoc with a config file. I'm able to run using the following command and it generates documentation just fine.
Where ldoc is aliased to my Lua for Windows install and the ldoc.lua file.
However; when I try to get a little more complex with my documentation (or streamline) by adding a config file in ANY WAY, I get the following error.
My currently config file looks like
I've tried not specifying input file in the config file per #351, but didn't have any success. I even cloned the pull request for that issue without success.
I'm sure it's just something simple I have/haven't done with my setup that I'm missing, just looking for some guidance.
The text was updated successfully, but these errors were encountered: