3 from = "modules/"..module_doc.name
5 from = "files/.."..file_doc.name
13 <%if not module_doc and not file_doc then%>
14 <li><strong>Index</strong></li>
16 <li><a href="<%=luadoc.doclet.html.link("index.html", from)%>">Index</a></li>
22 <%if not options.nomodules and #doc.modules > 0 then%>
25 <%for _, modulename in ipairs(doc.modules) do
26 if module_doc and module_doc.name == modulename then%>
27 <li><strong><%=modulename%></strong></li>
30 <a href="<%=luadoc.doclet.html.module_link(modulename, doc, from)%>"><%=modulename%></a>
39 <%if not options.nofiles and #doc.files > 0 then%>
42 <%for _, filepath in ipairs(doc.files) do
43 if file_doc and file_doc.name == filepath then%>
44 <li><strong><%=filepath%></strong></li>
47 <a href="<%=luadoc.doclet.html.file_link(filepath, from)%>"><%=filepath%></a>