
Originally Posted by
nescalona
E2Doc? Is that like Javadoc?
No, not really. It's an internal thing that Tommy Lobo wrote. Basicly it generates Wiki documentation from comments in the LUA code of the functions.
It seems to work like this:
Code:
--- Comment Goes Here <ImAVar> [http://www.ImALink.com] [[ImAWikiLink]]
So you could do like:
Code:
--- runs [[string.match]](<this>, <pattern>, <position>) and returns the sub-captures as an array.
e2function array string:match(string pattern, position)
local ret = { string.match(this, pattern, position) }
return ret
end And it would generate:
Code:
S:match(S2,N) R runs string.match(S, S2, N) and returns the sub-captures as an array.
Bookmarks