From 9ca685bfbdbb63794c8e203936cdd383ff8745a5 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Wed, 19 Feb 2014 18:32:38 +0000 Subject: chore(doc-gen): add path of project to the doc gen config --- docs/docs.config.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') 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') } -- cgit v1.2.3