The update to dgeni-packages led to a breaking change in the Nunjucks templates, where macros are now isolated from their calling site. This means that we must pass the `versionInfo` object through to the macro rather than expecting it to be in scope already.
		
			
				
	
	
		
			31 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {% import "lib/githubLinks.html" as github -%}
 | |
| {% import "lib/paramList.html" as params -%}
 | |
| {% extends 'layout/base.template.html' -%}
 | |
| 
 | |
| {% block body %}
 | |
| include {$ relativePath(doc.path, '_util-fns') $}
 | |
| 
 | |
| {% include "layout/_what-it-does.html" %}
 | |
| 
 | |
| {% include "layout/_security-notes.html" %}
 | |
| 
 | |
| {% include "layout/_deprecated-notes.html" %}
 | |
| 
 | |
| {% include "layout/_how-to-use.html" %}
 | |
| 
 | |
| div(layout="row" layout-xs="column" class="row-margin ng-cloak")
 | |
|   div(flex="20" flex-xs="100")
 | |
|     h2(class="h2-api-docs") Class Export
 | |
|   div(class="code-links" flex="80" flex-xs="100")
 | |
|     pre.prettyprint.no-bg
 | |
|       code.
 | |
|         export {$ doc.name $}{$ params.paramList(doc.parameters) | indent(8, true) | trim $}{$ params.returnType(doc.returnType) $}
 | |
|     :marked
 | |
|       {%- if not doc.notYetDocumented %}
 | |
| {$ doc.description | indentForMarkdown(6) | trimBlankLines $}
 | |
|       {% endif %}
 | |
| 
 | |
| p.location-badge.
 | |
|   exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} } defined in {$ github.githubViewLink(doc, versionInfo) $}
 | |
| 
 | |
| {% endblock %} |