softlayer / ember-cli-jsdoc

An Ember CLI addon to generate HTML documentation from JSDoc comments in the source code.
MIT License
21 stars 18 forks source link

Don't support space char in base path #16

Closed ewoody closed 8 years ago

ewoody commented 8 years ago

Reproduce Steps:

  1. Windows, project path is "c:\my doc\my project"
  2. run "ember ember-cli-jsdoc" in this project path
  3. See error "c:\my" is not a command

Suggested fix -

Line 11, in ember-cli-jsdoc.js, change to

cmd = '\"' + cmd + '\"' + ' -c jsdoc.json';

then it works on Windows

notmessenger commented 8 years ago

@SpikedKira Do you mind taking a look at this, as you've made some changes to this file in the past as well as you have a Windows environment to test it in?