common.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <!DOCTYPE html>
  2. <html xmlns:t="http://twistedmatrix.com/ns/twisted.web.template/0.1" t:render="all">
  3. <head>
  4. <title><t:slot name="title">Something</t:slot> : API documentation</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. Twisted 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 id="showPrivate">
  27. <button class="btn btn-link" onclick="togglePrivate()">Toggle Private API</button>
  28. </div>
  29. <div class="container">
  30. <div class="page-header">
  31. <t:slot name="heading"><h1>Heading</h1></t:slot>
  32. <span id="partOf">
  33. <t:slot name="part">Part of something</t:slot>
  34. <a t:render="source">View Source</a>
  35. <a t:render="inhierarchy">(View In Hierarchy)</a>
  36. </span>
  37. </div>
  38. <div class="extrasDocstring">
  39. <t:slot name="extras">
  40. A docstring.
  41. </t:slot>
  42. </div>
  43. <t:transparent t:render="deprecated" />
  44. <div class="moduleDocstring">
  45. <t:slot name="docstring">
  46. A docstring.
  47. </t:slot>
  48. </div>
  49. <div id="splitTables">
  50. <t:slot name="mainTable" />
  51. <t:transparent t:render="baseTables">
  52. <p class="inheritedFrom">
  53. Inherited from <t:slot name="baseName" />:
  54. </p>
  55. <t:slot name="baseTable" />
  56. </t:transparent>
  57. <t:slot name="packageInitTable"> </t:slot>
  58. </div>
  59. <div id="childList">
  60. <t:slot name="childlist"> </t:slot>
  61. </div>
  62. <address>
  63. <a href="index.html">API Documentation</a> for <t:slot name="project">Some
  64. Project</t:slot>, generated by <a href="https://github.com/twisted/pydoctor/">pydoctor</a> at <t:slot name="buildtime">some time</t:slot>.
  65. </address>
  66. </div>
  67. <script src="pydoctor.js" type='text/javascript'></script>
  68. <!-- Google analytics, obviously. -->
  69. <script src="//www.google-analytics.com/urchin.js" type="text/javascript"></script>
  70. <script type="text/javascript">
  71. _uacct = "UA-99018-6";
  72. urchinTracker();
  73. </script>
  74. <!-- If the documentation isn't current, insert a current link. -->
  75. <script type="text/javascript">
  76. if (window.location.pathname.indexOf('/current/') == -1) {
  77. <!-- Give the user a link to this page, but in the current version of the docs. -->
  78. var link = document.getElementById('current-docs-link');
  79. link.href = window.location.pathname.replace(/\/\d+\.\d+\.\d+\/api\//, '/current/api/');
  80. <!-- And make it visible -->
  81. var container = document.getElementById('current-docs-container');
  82. container.style.display = "";
  83. delete link;
  84. delete container;
  85. }
  86. </script>
  87. </body>
  88. </html>