diff --git a/tools/api-builder/angular.io-package/templates/class.template.html b/tools/api-builder/angular.io-package/templates/class.template.html index 3f3bb921db..2db46a1fc4 100644 --- a/tools/api-builder/angular.io-package/templates/class.template.html +++ b/tools/api-builder/angular.io-package/templates/class.template.html @@ -10,6 +10,10 @@ h2(class="{$ doc.docType $} export") code. export {$ doc.docType $} {$ doc.name $} +p.location-badge. + exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} } + defined in {$ githubViewLink(doc) $} + :marked {%- if doc.notYetDocumented %} *Not Yet Documented* diff --git a/tools/api-builder/angular.io-package/templates/function.template.html b/tools/api-builder/angular.io-package/templates/function.template.html index a20a09d569..b59b1aef33 100644 --- a/tools/api-builder/angular.io-package/templates/function.template.html +++ b/tools/api-builder/angular.io-package/templates/function.template.html @@ -10,6 +10,10 @@ include ../../_util-fns code. export {$ doc.name $}{$ paramList(doc.parameters) | indent(8, true) | trim $}{$ returnType(doc.returnType) $} + p.location-badge. + exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} } + defined in {$ githubViewLink(doc) $} + :marked {%- if doc.notYetDocumented %} *Not Yet Documented* diff --git a/tools/api-builder/angular.io-package/templates/layout/base.template.html b/tools/api-builder/angular.io-package/templates/layout/base.template.html index c43746bad2..16a0d9dc96 100644 --- a/tools/api-builder/angular.io-package/templates/layout/base.template.html +++ b/tools/api-builder/angular.io-package/templates/layout/base.template.html @@ -1,5 +1 @@ -{% include 'layout/breadcrumbs.html' %} -p.location-badge. - defined in {$ githubViewLink(doc) $} - {% block body %}{% endblock %} \ No newline at end of file diff --git a/tools/api-builder/angular.io-package/templates/layout/breadcrumbs.html b/tools/api-builder/angular.io-package/templates/layout/breadcrumbs.html deleted file mode 100644 index 2ff9ab68ff..0000000000 --- a/tools/api-builder/angular.io-package/templates/layout/breadcrumbs.html +++ /dev/null @@ -1,3 +0,0 @@ -
\ No newline at end of file diff --git a/tools/api-builder/angular.io-package/templates/module.template.html b/tools/api-builder/angular.io-package/templates/module.template.html index 2eda30fcb5..0664b8113e 100644 --- a/tools/api-builder/angular.io-package/templates/module.template.html +++ b/tools/api-builder/angular.io-package/templates/module.template.html @@ -2,6 +2,8 @@ {% extends 'layout/base.template.html' -%} {% block body -%} include ../../_util-fns +p.location-badge. + defined in {$ githubViewLink(doc) $} ul for page, slug in public.docs[current.path[1]][current.path[2]][current.path[3]][current.path[4]]._data diff --git a/tools/api-builder/angular.io-package/templates/var.template.html b/tools/api-builder/angular.io-package/templates/var.template.html index 66d0e7ef70..69911f510c 100644 --- a/tools/api-builder/angular.io-package/templates/var.template.html +++ b/tools/api-builder/angular.io-package/templates/var.template.html @@ -10,6 +10,10 @@ include ../../_util-fns code. export {$ doc.name $}{$ returnType(doc.returnType) $} + p.location-badge. + exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} } + defined in {$ githubViewLink(doc) $} + :marked {%- if doc.notYetDocumented %} *Not Yet Documented*