From e3d525cf2a4cf6f55c6d8f0f55a005e5639f08ea Mon Sep 17 00:00:00 2001 From: Jay Traband Date: Thu, 17 Sep 2015 18:09:41 -0700 Subject: [PATCH] added path to _utilFns to all api templates so that mixins become avail --- .../api-builder/angular.io-package/templates/class.template.html | 1 + .../angular.io-package/templates/function.template.html | 1 + .../angular.io-package/templates/module.template.html | 1 + .../api-builder/angular.io-package/templates/var.template.html | 1 + 4 files changed, 4 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 8e852e86c9..851086a4d4 100644 --- a/public/api-builder/angular.io-package/templates/class.template.html +++ b/public/api-builder/angular.io-package/templates/class.template.html @@ -3,6 +3,7 @@ {% extends 'layout/base.template.html' -%} {% block body %} +include ../../_util-fns p.location-badge. exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} } defined in {$ githubViewLink(doc) $} diff --git a/public/api-builder/angular.io-package/templates/function.template.html b/public/api-builder/angular.io-package/templates/function.template.html index c97ae650ed..06f2b87296 100644 --- a/public/api-builder/angular.io-package/templates/function.template.html +++ b/public/api-builder/angular.io-package/templates/function.template.html @@ -3,6 +3,7 @@ {% extends 'layout/base.template.html' -%} {% block body %} +include ../../_util-fns .l-main-section h2(class="function export") {$ doc.name $} diff --git a/public/api-builder/angular.io-package/templates/module.template.html b/public/api-builder/angular.io-package/templates/module.template.html index 3fbe568783..fa8008cd09 100644 --- a/public/api-builder/angular.io-package/templates/module.template.html +++ b/public/api-builder/angular.io-package/templates/module.template.html @@ -1,6 +1,7 @@ {% include "lib/githubLinks.html" -%} {% extends 'layout/base.template.html' -%} {% block body -%} +include ../../_util-fns p.location-badge. defined in {$ githubViewLink(doc) $} diff --git a/public/api-builder/angular.io-package/templates/var.template.html b/public/api-builder/angular.io-package/templates/var.template.html index 5673b6fabc..ec08f47261 100644 --- a/public/api-builder/angular.io-package/templates/var.template.html +++ b/public/api-builder/angular.io-package/templates/var.template.html @@ -2,6 +2,7 @@ {% extends 'layout/base.template.html' %} {% block body %} +include ../../_util-fns .l-main-section p.location-badge. exported from {@link {$ doc.moduleDoc.id $} {$doc.moduleDoc.id $} }