Skip to content

Commit

Permalink
Merge ed508f0 into b48c9b9
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry committed Jan 25, 2014
2 parents b48c9b9 + ed508f0 commit ea849d4
Show file tree
Hide file tree
Showing 27 changed files with 690 additions and 702 deletions.
41 changes: 39 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ module.exports = function (grunt) {
require('load-grunt-tasks')(grunt);
require('time-grunt')(grunt);

var dev = process.cwd().indexOf('/home/codetrain/angular-data') === -1;

// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
Expand Down Expand Up @@ -170,6 +172,13 @@ module.exports = function (grunt) {
dest: 'doc/resources/img/',
flatten: true
},
chart: {
expand: true,
cwd: 'guide/',
src: 'chart.png',
dest: 'doc/resources/img/',
flatten: true
},
cream_dust: {
expand: true,
cwd: 'guide/',
Expand Down Expand Up @@ -205,7 +214,26 @@ module.exports = function (grunt) {
index: 1,
overview: 2,
basic: 3,
advanced: 4
advanced: 4,
lifecycle: 5
}
},
{
id: 'queries',
title: 'Queries',
docs: ['guide/queries/'],
rank: {
index: 1,
overview: 2
}
},
{
id: 'adapters',
title: 'Adapters',
docs: ['guide/adapters/'],
rank: {
index: 1,
overview: 2
}
}
]
Expand All @@ -232,7 +260,16 @@ module.exports = function (grunt) {
showAngularDocs: false,
docular_partial_home: 'guide/home.html',
docular_partial_navigation: 'guide/nav.html',
docular_partial_footer: 'guide/footer.html'
docular_partial_footer: 'guide/footer.html',
analytics: {
account: 'UA-46792694-5',
domainName: 'angular-data.codetrain.io'
},
discussions: {
shortName: 'angular-data',
url: 'http://angular-data.codetrain.io',
dev: dev
}
}
});

Expand Down
Loading

0 comments on commit ea849d4

Please sign in to comment.