From fd8fcf22fa85ae8c9af59d59e9dc73be93d21c2b Mon Sep 17 00:00:00 2001 From: Matthew Findley Date: Mon, 18 May 2015 17:35:52 -0700 Subject: [PATCH] fix(docs): use source rather than combined js Using source allows us to use the fileInfo to determine the path of the component/service being documented. --- docs/config/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/config/index.js b/docs/config/index.js index fa8c7a8749d..e1a6dbd8e3f 100644 --- a/docs/config/index.js +++ b/docs/config/index.js @@ -29,7 +29,8 @@ module.exports = new Package('angular-md', [ .config(function(readFilesProcessor, writeFilesProcessor) { readFilesProcessor.basePath = projectPath; readFilesProcessor.sourceFiles = [ - { include: 'dist/angular-material.js', basePath: 'dist' }, + { include: 'src/components/**/*.js', basePath: '.' }, + { include: 'src/core/**/*.js', basePath: '.' }, { include: 'docs/content/**/*.md', basePath: 'docs/content', fileReader: 'ngdocFileReader' } ];