From f56125d94efba462869f09064dfa39aa780b8016 Mon Sep 17 00:00:00 2001 From: Matias Niemelä Date: Tue, 4 Jun 2013 19:05:50 -0400 Subject: chore(ngdocs): setup bower as the package manager for the docs pages --- docs/src/templates/index.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'docs/src/templates/index.html') diff --git a/docs/src/templates/index.html b/docs/src/templates/index.html index 83b02596..87b76bad 100644 --- a/docs/src/templates/index.html +++ b/docs/src/templates/index.html @@ -31,11 +31,12 @@ }; addTag('base', {href: baseUrl}); - addTag('link', {rel: 'stylesheet', href: 'css/bootstrap.min.css', type: 'text/css'}); - addTag('link', {rel: 'stylesheet', href: 'css/font-awesome.css', type: 'text/css'}); + addTag('link', {rel: 'stylesheet', href: 'components/bootstrap/css/' + (debug ? 'bootstrap.css' : 'bootstrap.min.css'), type: 'text/css'}); + addTag('link', {rel: 'stylesheet', href: 'components/font-awesome/css/' + (debug ? 'font-awesome.css' : 'font-awesome.min.css'), type: 'text/css'}); + addTag('link', {rel: 'stylesheet', href: 'css/prettify.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/docs.css', type: 'text/css'}); addTag('link', {rel: 'stylesheet', href: 'css/animations.css', type: 'text/css'}); - if (jQuery) addTag('script', {src: debug ? 'js/jquery.js' : 'js/jquery.min.js'}); + if (jQuery) addTag('script', {src: (debug ? 'components/jquery.js' : 'components/jquery.min.js')}); addTag('script', {src: path('angular.js')}, sync); addTag('script', {src: path('angular-resource.js') }, sync); addTag('script', {src: path('angular-route.js') }, sync); @@ -44,7 +45,8 @@ addTag('script', {src: path('angular-mobile.js') }, sync); addTag('script', {src: 'components/angular-bootstrap.js' }, sync); addTag('script', {src: 'components/angular-bootstrap-prettify.js' }, sync); - addTag('script', {src: 'js/lunr.js' }, sync); + addTag('script', {src: 'components/google-code-prettify.js' }, sync); + addTag('script', {src: 'components/' + (debug ? 'lunr.js' : 'lunr.min.js') }, sync); addTag('script', {src: 'js/docs.js'}, sync); addTag('script', {src: 'docs-keywords.js'}, sync); @@ -115,7 +117,7 @@
-