Fix some Luadoc glitches
This commit is contained in:
parent
af18067e75
commit
a4761ed42f
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ else
|
||||||
end
|
end
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<dt><%=func.private and "local " or ""%><a name="<%=func.name%>"></a><strong><%=(oop and func.name:gsub("%.",":") or func.name:gsub(".+%.",""))%></strong> (<%=table.concat(func.param, ", ")%>)</dt>
|
<dt><%=func.private and "local " or ""%><a name="<%=func.name%>"></a><strong><%=(oop and func.name:gsub("%.",":") or func.name:gsub(".+%.",""))%></strong> (<%=table.concat(func.param or {}, ", ")%>)</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<%=func.description or ""%>
|
<%=func.description or ""%>
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
<%for _, func_name in ipairs(module_doc.functions) do
|
<%for _, func_name in ipairs(module_doc.functions) do
|
||||||
local func_data = module_doc.functions[func_name]%>
|
local func_data = module_doc.functions[func_name]%>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="name" nowrap><%=func_data.private and "local " or ""%><a href="#<%=func_name%>"><%=(oop and func_name:gsub("%.",":") or func_name:gsub(".+%.",""))%></a> (<%=table.concat(module_doc.functions[func_name].param, ", ")%>)</td>
|
<td class="name" nowrap><%=func_data.private and "local " or ""%><a href="#<%=func_name%>"><%=(oop and func_name:gsub("%.",":") or func_name:gsub(".+%.",""))%></a> (<%=table.concat(module_doc.functions[func_name].param or {}, ", ")%>)</td>
|
||||||
<td class="summary"><%=module_doc.functions[func_name].summary%></td>
|
<td class="summary"><%=module_doc.functions[func_name].summary%></td>
|
||||||
</tr>
|
</tr>
|
||||||
<%end%>
|
<%end%>
|
||||||
|
|
Loading…
Reference in a new issue