Debian Codegraph @

flaw/luadoc/doclet/html/menu.lp

raw
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 <!-- Module list -->
12 <%if not options.nomodules and #doc.modules > 0 then%>
13 <h1>Modules</h1>
14 <ul>
15 <%for _, modulename in ipairs(doc.modules) do
16 if module_doc and module_doc.name == modulename then%>
17 <li><strong><%=modulename%></strong></li>
18 <%else%>
19 <li><a href="<%=luadoc.doclet.html.module_link(modulename, doc, from)%>"
20 ><%=modulename%></a></li>
21 <%end%>
22 <%end%>
23 </ul>
24 <%end%>