Skip to content

Commit 7a12d01

Browse files
committed
feat(api): Add see also
1 parent 02ed01b commit 7a12d01

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

compiler/api/templates/export-base.template.html

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
{% if doc.description %}<p><a href="#description">See more...</a></p>{% endif %}
77
</section>
88
{% block overview %}{% endblock %}
9+
{% include "includes/see-also.html" %}
910
{% block details %}{% endblock %}
1011
{% block endNotes %}{% include "includes/usageNotes.html" %}{% endblock %}
1112
{% endblock %}

compiler/api/templates/includes/see-also.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{%- if doc.see AND doc.see.length %}
1+
{%- if doc.see and doc.see.length %}
22
<section class="see-also">
33
<h3><span>See also</span></h3>
44
<ul>

0 commit comments

Comments
 (0)