Each API index page now displays data from an `api-list.json` file found locally to that page. This lets us have different API lists for TS, JS and Dart.
		
			
				
	
	
		
			12 lines
		
	
	
		
			311 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			311 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {
 | |
| {%- for module, items in doc.data %}
 | |
|   "{$ module $}" : [{% for item in items %}
 | |
|     {
 | |
|       "title": "{$ item.title $}",
 | |
|       "path": "{$ item.exportDoc.path $}",
 | |
|       "docType": "{$ item.docType $}"
 | |
|     }{% if not loop.last %},{% endif %}
 | |
|   {% endfor %}]{% if not loop.last %},{% endif %}
 | |
| {% endfor -%}
 | |
| }
 |