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.
		
			
				
	
	
		
			33 lines
		
	
	
		
			934 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			934 B
		
	
	
	
		
			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") Variable Export
 | |
|   div(class="code-links" flex="80" flex-xs="100")
 | |
|     pre.prettyprint.no-bg
 | |
|       code.
 | |
|         export {$ doc.name $}
 | |
|     :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 %}
 |