From d22418d417eee6952f7f74abfa8e1990be952f9c Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Sat, 22 Sep 2018 19:51:53 +0100 Subject: [PATCH] build(docs-infra): add short description "See more" link (#25768) If there is additional (non-short) description then add in a link to the short description to take the reader there. PR Close #25768 --- aio/tools/transforms/templates/api/export-base.template.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/aio/tools/transforms/templates/api/export-base.template.html b/aio/tools/transforms/templates/api/export-base.template.html index 94a02eb1a8..9b94d5a312 100644 --- a/aio/tools/transforms/templates/api/export-base.template.html +++ b/aio/tools/transforms/templates/api/export-base.template.html @@ -1,7 +1,10 @@ {% extends 'base.template.html' -%} {% block body %} -

{$ doc.shortDescription | marked $}

+
+ {$ doc.shortDescription | marked $} + {% if doc.description %}

See more...

{% endif %} +
{% include "includes/security-notes.html" %} {% include "includes/deprecation.html" %} {% block overview %}{% endblock %}