Build doc with lua
merged from dev