75 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			75 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% include "lib/githubLinks.html" -%}
 | |
| {% include "lib/paramList.html" -%}
 | |
| <!DOCTYPE html>
 | |
| <html>
 | |
| <head>
 | |
|   <title></title>
 | |
|   <style>
 | |
|     body {
 | |
|       max-width: 1000px;
 | |
|     }
 | |
|     h2 {
 | |
|       margin-top: 20px;
 | |
|       margin-bottom: 0;
 | |
|       border-bottom: solid 1px black;
 | |
|     }
 | |
|     h3 {
 | |
|       margin-top: 10px;
 | |
|       margin-bottom: 0;
 | |
|       padding-left: 20px;
 | |
|     }
 | |
|     h4 {
 | |
|       padding-left: 30px;
 | |
|       margin: 0;
 | |
|     }
 | |
|     .not-documented::after {
 | |
|       content: "(not documented)";
 | |
|       font-size: small;
 | |
|       font-style: italic;
 | |
|       color: red;
 | |
|     }
 | |
|     a {
 | |
|       color: black;
 | |
|       text-decoration: none;
 | |
|     }
 | |
|   </style>
 | |
| </head>
 | |
| <body>
 | |
| 
 | |
| 
 | |
| <h1>Module Overview</h1>
 | |
| 
 | |
| {% for module in doc.modules %}
 | |
| 
 | |
| <h2>
 | |
|   <code>{$ module.id $}{%- if module.public %} (public){% endif %}</code>
 | |
| </h2>
 | |
| 
 | |
|   {% for export in module.exports %}
 | |
|   <h3 {% if export.notYetDocumented %}class="not-documented"{% endif %}>
 | |
|     <a href="{$ githubHref(export) $}">
 | |
|     <code>{$ export.docType $} {$ export.name $}</code>
 | |
|     </a>
 | |
|   </h3>
 | |
|       {%- if export.constructorDoc %}
 | |
|       <h4  {% if export.constructorDoc.notYetDocumented %}class="not-documented"{% endif %}>
 | |
|         <a href="{$ githubHref(export.constructorDoc) $}">
 | |
|         <code>{$ export.constructorDoc.name $}{$ paramList(export.constructorDoc.params) $}</code>
 | |
|         </a>
 | |
|       </h4>
 | |
|     {% endif -%}
 | |
|     {%- for member in export.members %}
 | |
|       <h4 {% if member.notYetDocumented %}class="not-documented"{% endif %}>
 | |
|         <a href="{$ githubHref(member) $}">
 | |
|         <code>{$ member.name $}{$ paramList(member.params) $}</code>
 | |
|         </a>
 | |
|       </h4>
 | |
|     {% endfor %}
 | |
| 
 | |
|   {% endfor %}
 | |
| 
 | |
| {% endfor %}
 | |
| 
 | |
| </body>
 | |
| </html>
 |