Merge pull request #304 from nmav/ocserv-crypt
[project/luci.git] / build / luadoc / luadoc / doclet / html / constant.lp
1 <%
2 if module_doc then
3         from = "modules/"..module_doc.name
4 elseif file_doc then
5         from = "files/.."..file_doc.name
6 else
7         from = ""
8 end
9 %>
10
11 <dt><%=const.private and "local " or ""%><a name="<%=const.name%>"></a><strong><%=const.name:gsub(".+%.","")%></strong></dt>
12 <dd>
13 <%=const.description or ""%>
14
15 <%if type(const.see) == "string" then %>
16 <h3>See also:</h3>
17         <a href="<%=const.see%>"><%=const.see%></a>
18 <%elseif type(const.see) == "table" and #const.see > 0 then %>
19 <h3>See also:</h3>
20 <ul>
21         <%for i = 1, #const.see do%>
22         <li><a href="<%=luadoc.doclet.html.symbol_link(const.see[i], doc, module_doc, file_doc, from)%>">
23                 <%=const.see[i]:gsub(".+%.","")%>
24         </a>
25         <%end%>
26 </ul
27 <%end%>
28 </dd>