diff options
| author | Peter Bacon Darwin | 2014-02-13 21:50:13 +0000 |
|---|---|---|
| committer | Peter Bacon Darwin | 2014-02-16 19:03:42 +0000 |
| commit | 0b35521d8ffe9ff851c49801900381ec043962f0 (patch) | |
| tree | 3143e1bfbc1c436b626f1dde408e1e6d9e985703 /docs/docs.config.js | |
| parent | 4a938213dfc0ef1828ab795ba726c490b267db69 (diff) | |
| download | angular.js-0b35521d8ffe9ff851c49801900381ec043962f0.tar.bz2 | |
chore(doc-gen): move git info into its own processor
Diffstat (limited to 'docs/docs.config.js')
| -rw-r--r-- | docs/docs.config.js | 11 |
1 files changed, 0 insertions, 11 deletions
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'); |
