mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
Fix some Luadoc glitches
This commit is contained in:
@@ -8,7 +8,7 @@ else
|
||||
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>
|
||||
<%=func.description or ""%>
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
<%for _, func_name in ipairs(module_doc.functions) do
|
||||
local func_data = module_doc.functions[func_name]%>
|
||||
<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>
|
||||
</tr>
|
||||
<%end%>
|
||||
|
||||
Reference in New Issue
Block a user