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 :oops:

Thanks

Re: Script to create Lua API documentation in html.

Posted: Thu Mar 05, 2026 11:17 am
by Jenish535
It's 2026 already...

Can someone add latest doc in html as the current version is old and so many functions are changed

Re: Script to create Lua API documentation in html.

Posted: Fri Mar 06, 2026 11:29 am
by bepeg4d
Jenish535 wrote: Thu Mar 05, 2026 11:17 am It's 2026 already...

Can someone add latest doc in html as the current version is old and so many functions are changed
Hi,

OctaneRender documentation is updated and in .htm from some time:
https://docs.otoy.com/standaloneSE/CoverPage.html

And about LUA API, if you run the script in the first page of this discussion in OctaneRender Standalone 2026.2 you get this:
IMG_7177.jpeg
OctaneRender_doc_2026_2.zip
(129.11 KiB) Downloaded 11 times
Happy GPU rendering!

ciao,
Beppe