summary.html 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!DOCTYPE html>
  2. <html xmlns:t="http://twistedmatrix.com/ns/twisted.web.template/0.1">
  3. <head>
  4. <title t:render="title">Something</title>
  5. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
  6. <link rel="stylesheet" type="text/css" href="bootstrap.min.css" />
  7. <link rel="stylesheet" type="text/css" href="apidocs.css"/>
  8. </head>
  9. <body>
  10. <nav class="navbar navbar-default">
  11. <div class="container">
  12. <div class="navbar-header">
  13. <a class="navbar-brand" href="index.html">
  14. <t:transparent t:render="project">Some Project</t:transparent> API Documentation
  15. </a>
  16. </div>
  17. </div>
  18. </nav>
  19. <div style="display: none" id="current-docs-container" class="container">
  20. <div class="col-sm-12">
  21. <a id="current-docs-link">
  22. Go to the latest version of this document.
  23. </a>
  24. </div>
  25. </div>
  26. <div class="container">
  27. <div class="page-header">
  28. <h1 t:render="heading">Heading</h1>
  29. </div>
  30. <ul t:render="stuff">
  31. </ul>
  32. </div>
  33. <!-- Google analytics, obviously. -->
  34. <script src="//www.google-analytics.com/urchin.js" type="text/javascript"></script>
  35. <script type="text/javascript">
  36. _uacct = "UA-99018-6";
  37. urchinTracker();
  38. </script>
  39. <!-- If the documentation isn't current, insert a current link. -->
  40. <script type="text/javascript">
  41. if (window.location.pathname.indexOf('/current/') == -1) {
  42. <!-- Give the user a link to this page, but in the current version of the docs. -->
  43. var link = document.getElementById('current-docs-link');
  44. link.href = window.location.pathname.replace(/\/\d+\.\d+\.\d+\/api\//, '/current/api/');
  45. <!-- And make it visible -->
  46. var container = document.getElementById('current-docs-container');
  47. container.style.display = "";
  48. delete link;
  49. delete container;
  50. }
  51. </script>
  52. </body>
  53. </html>