Skip to content

Commit 8d16aa6

Browse files
committed
Prep for doc deploy.
1 parent bf34ff0 commit 8d16aa6

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Gruntfile.js

+12-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ module.exports = function (grunt) {
1111
require('load-grunt-tasks')(grunt);
1212
require('time-grunt')(grunt);
1313

14+
var dev = process.cwd().indexOf('/home/codetrain/angular-data') === -1;
15+
1416
// Project configuration.
1517
grunt.initConfig({
1618
pkg: grunt.file.readJSON('package.json'),
@@ -250,7 +252,16 @@ module.exports = function (grunt) {
250252
showAngularDocs: false,
251253
docular_partial_home: 'guide/home.html',
252254
docular_partial_navigation: 'guide/nav.html',
253-
docular_partial_footer: 'guide/footer.html'
255+
docular_partial_footer: 'guide/footer.html',
256+
analytics: {
257+
account: 'UA-46792694-5',
258+
domainName: 'angular-data.codetrain.io'
259+
},
260+
discussions: {
261+
shortName: 'angular-data',
262+
url: 'http://angular-data.codetrain.io',
263+
dev: dev
264+
}
254265
}
255266
});
256267

0 commit comments

Comments
 (0)