luapage.lp 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html>
  4. <% --[[--
  5. index.lp from the Kepler Project's LuaDoc HTML doclet.
  6. http://keplerproject.github.com/luadoc/
  7. --]] %>
  8. <head>
  9. <title>Reference</title>
  10. <link rel="stylesheet" href="<%=luadoc.doclet.html.link("luadoc.css")%>" type="text/css" />
  11. <!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
  12. </head>
  13. <body>
  14. <div id="container">
  15. <div id="product">
  16. <div id="product_logo"></div>
  17. <div id="product_name"><big><b></b></big></div>
  18. <div id="product_description"></div>
  19. </div> <!-- id="product" -->
  20. <div id="main">
  21. <div id="navigation">
  22. <%=luadoc.doclet.html.include("menu.lp", { doc=doc })%>
  23. </div> <!-- id="navigation" -->
  24. <div id="content">
  25. <%if not options.nomodules and #doc.modules > 0 then%>
  26. <h2>Modules</h2>
  27. <table class="module_list">
  28. <!--<tr><td colspan="2">Modules</td></tr>-->
  29. <%for _, modulename in ipairs(doc.modules) do%>
  30. <tr>
  31. <td class="name"><a href="<%=luadoc.doclet.html.module_link(modulename, doc)%>"><%=modulename%></a></td>
  32. <td class="summary"><%=doc.modules[modulename].summary%></td>
  33. </tr>
  34. <%end%>
  35. </table>
  36. <%end%>
  37. <%if not options.nofiles and #doc.files > 0 then%>
  38. <h2>Files</h2>
  39. <table class="file_list">
  40. <!--<tr><td colspan="2">Files</td></tr>-->
  41. <%for _, filepath in ipairs(doc.files) do%>
  42. <tr>
  43. <td class="name"><a href="<%=luadoc.doclet.html.file_link(filepath)%>"><%=filepath%></a></td>
  44. <td class="summary"></td>
  45. </tr>
  46. <%end%>
  47. </table>
  48. <%end%>
  49. </div> <!-- id="content" -->
  50. </div> <!-- id="main" -->
  51. <div id="about">
  52. <p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
  53. </div> <!-- id="about" -->
  54. </div> <!-- id="container" -->
  55. </body>
  56. </html>