Page 2 of 2
Re: Script to create Lua API documentation in html.
Posted:
Fri Aug 08, 2014 8:34 pm
by stratified
ultrafish wrote:This script is crashing with the current demo version of octane because octane[moduleName] == nil when moduleName == 'benchmark' or 'octane'. The crash happens on lines 122 and 164. I was able to put checks in for myself, but I didn't want to post my code since I'm very new to octane and I thought it might be an issue only with the demo version.
Thanks.
Hi,
I'll update this script as soon as I have some time.
cheers,
Thomas
Re: Script to create Lua API documentation in html.
Posted:
Mon Aug 11, 2014 10:14 pm
by stratified
I've attached an updated script to the first post. Should work now.
cheers,
Thomas
Re: Script to create Lua API documentation in html.
Posted:
Thu Mar 05, 2015 8:05 pm
by Wallan
Get an error when trying to run the scriupt.
[string "create-docs.lua"]:136: bad argument #1 to 'functionDoc' (string expected, got function)
Re: Script to create Lua API documentation in html.
Posted:
Thu Mar 05, 2015 8:17 pm
by stratified
Hi,
There are 2 versions of the script attached to the first post (create-docs.lua
and create-docs_213.lua
). I think you're trying to run create-docs.lua
on an OctaneRender version higher than 2.13.
cheers,
Thomas
Re: Script to create Lua API documentation in html.
Posted:
Fri Mar 06, 2015 7:30 pm
by Wallan
You are so very correct on that one
Thanks