From b176f42302d88fcf4a83fd352986095f104c1c0e Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Tue, 3 Nov 2015 12:31:01 +0000 Subject: [PATCH] api-templates: display name and type of class-ish docs at top of content --- .../angular.io-package/templates/class.template.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/api-builder/angular.io-package/templates/class.template.html b/public/api-builder/angular.io-package/templates/class.template.html index ca06518aa6..e27e786553 100644 --- a/public/api-builder/angular.io-package/templates/class.template.html +++ b/public/api-builder/angular.io-package/templates/class.template.html @@ -4,6 +4,12 @@ {% block body %} include ../../_util-fns + +h2(class="{$ doc.docType $} export") + pre.prettyprint + code. + export {$ doc.docType $} {$ doc.name $} + p.location-badge. exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} } defined in {$ githubViewLink(doc) $}