diff options
| author | Peter Bacon Darwin | 2014-02-19 18:32:38 +0000 |
|---|---|---|
| committer | Peter Bacon Darwin | 2014-02-19 18:32:38 +0000 |
| commit | 9ca685bfbdbb63794c8e203936cdd383ff8745a5 (patch) | |
| tree | e8bf7e441b2ed341d90e9636228340869d100869 /docs/docs.config.js | |
| parent | 1b74e5ed0ad80b5198d75f2013b219787a1cad8e (diff) | |
| download | angular.js-9ca685bfbdbb63794c8e203936cdd383ff8745a5.tar.bz2 | |
chore(doc-gen): add path of project to the doc gen config
Diffstat (limited to 'docs/docs.config.js')
| -rw-r--r-- | docs/docs.config.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/docs.config.js b/docs/docs.config.js index b93cae97..536728fb 100644 --- a/docs/docs.config.js +++ b/docs/docs.config.js @@ -18,6 +18,8 @@ module.exports = function(config) { config = basePackage(config); + config.set('source.projectPath', path.resolve(basePath, '..')); + config.set('source.files', [ { pattern: 'src/**/*.js', basePath: path.resolve(basePath,'..') }, { pattern: '**/*.ngdoc', basePath: path.resolve(basePath, 'content') } |
