From 0b35521d8ffe9ff851c49801900381ec043962f0 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Thu, 13 Feb 2014 21:50:13 +0000 Subject: chore(doc-gen): move git info into its own processor --- docs/docs.config.js | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'docs/docs.config.js') diff --git a/docs/docs.config.js b/docs/docs.config.js index a64dda75..4c6d07d2 100644 --- a/docs/docs.config.js +++ b/docs/docs.config.js @@ -1,5 +1,4 @@ var path = require('canonical-path'); -var gruntUtils = require('../lib/grunt/utils'); var basePath = __dirname; var basePackage = require('./config'); @@ -13,21 +12,11 @@ module.exports = function(config) { { pattern: '**/*.ngdoc', basePath: path.resolve(basePath, 'content') } ]); - var version = gruntUtils.getVersion(); - var versions = gruntUtils.getPreviousVersions(); - config.set('source.currentVersion', version); - config.set('source.previousVersions', versions); - config.set('processing.examples.commonFiles', { scripts: [ '../../../angular.js' ], stylesheets: [] }); - config.merge('rendering.extra', { - git: gruntUtils.getGitRepoInfo(), - version: version - }); - config.set('rendering.outputFolder', '../build/docs'); config.set('logging.level', 'debug'); -- cgit v1.2.3