fix(api-builder): pass versionInfo to macros
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.
This commit is contained in:
committed by
Naomi Black
parent
37953e8a06
commit
9c55afdfde
@@ -26,6 +26,6 @@ div(layout="row" layout-xs="column" class="row-margin ng-cloak")
|
||||
{% endif %}
|
||||
|
||||
p.location-badge.
|
||||
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} } defined in {$ github.githubViewLink(doc) $}
|
||||
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} } defined in {$ github.githubViewLink(doc, versionInfo) $}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user