Build doc with lua