diff --git a/lib/yuidoc.js b/lib/yuidoc.js index eb5cede87e6..3292300894f 100644 --- a/lib/yuidoc.js +++ b/lib/yuidoc.js @@ -3,11 +3,7 @@ var calculateVersion = require('./calculate-version'); var path = require('path'); module.exports = function yui() { - var emberData = path.join(__dirname, '..', 'addon'); - var emberInflector = path.join(path.dirname(require.resolve('ember-inflector'), 'addon')); - - return new YUIDoc([emberData, emberInflector], { - srcDir: '/', + return new YUIDoc(['addon', 'node_modules/ember-inflector/addon'], { destDir: 'docs', yuidoc: { "name": "The ember-data API", @@ -16,10 +12,6 @@ module.exports = function yui() { "logo": "http://f.cl.ly/items/1A1L432s022u1O1q1V3p/ember%20logo.png", "url": "https://github.com/emberjs/data", "options": { - "paths": [ - "ember-data/lib", - "ember-inflector/addon" - ], "exclude": "vendor", "outdir": "docs/build" }