Community
Participate
Working Groups
The @usage doesn't have the same behavior in module, function and type. For example the line : @usage local code Should generate: <h3>Usage:</h3> <pre class="example"><code>local code</code></pre> And the two lines: @usage local code @usage other local code Should generate: <h3>Usages:</h3> <ul> <li><pre class="example"><code>local code</code></pre></li> <li><pre class="example"><code>other local code</code></pre></li> </ul> But currently in a module the notation : --- -- @function [parent=#modulename] functionname -- @usage local code return nil generate : <h3>Usage:</h3> <ul> <pre class="example">local code</pre> </ul> Witch is not a valid HTML code.
Fixed in HEAD : b84f91c3dba6e0d1cffb6cd6b46668bdca2332cb