aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/templates/index.html
diff options
context:
space:
mode:
authorMatias Niemelä2013-06-04 19:05:50 -0400
committerIgor Minar2013-06-06 22:58:55 -0700
commitf56125d94efba462869f09064dfa39aa780b8016 (patch)
treee8ab4805f9b2aa3438aac3c2a788ef4c57bbec1c /docs/src/templates/index.html
parent079bf5f27566b446c11678c0cd03bb8dacfe83fc (diff)
downloadangular.js-f56125d94efba462869f09064dfa39aa780b8016.tar.bz2
chore(ngdocs): setup bower as the package manager for the docs pages
Diffstat (limited to 'docs/src/templates/index.html')
-rw-r--r--docs/src/templates/index.html12
1 files changed, 7 insertions, 5 deletions
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 @@
<body>
<header class="header" ng-controller="DocsNavigationCtrl">
- <div class="navbar navbar-fixed-top">
+ <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="http://angularjs.org" style="padding-top: 6px; padding-bottom: 0px;">