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
@@ -68,6 +68,6 @@ div(layout="row" layout-xs="column" class="instance-members" class="row-margin n
|
||||
|
||||
p(class="location-badge").
|
||||
exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} },
|
||||
defined in {$ github.githubViewLink(doc) $}
|
||||
defined in {$ github.githubViewLink(doc, versionInfo) $}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user