You will continue use old doc format for webview, or it will use another format? Prev was json, now you use yml, if i understand right.
EmmyLua use lua annotations(something like luadoc) to describe params,functions,types. It is very easy to use it. If in library we can use annotations in lua to make autocomple it will be cool and easy for users. https://emmylua.github.io/annotations/return.html