prismicio / javascript-kit

Development kit for the Javascript language
https://developers.prismic.io
106 stars 69 forks source link

Silent problem while generating JsDoc #10

Closed rudyrigot closed 10 years ago

rudyrigot commented 10 years ago

When you go:

npm install jsdoc
./node_modules/.bin/jsdoc dist/prismic.io.js

the result in the out/ folder is all blank pages: screen shot 2013-12-11 at 11 47 26 am

Next step is including it as a Grunt task, but that will be easy enough, once this issue is solved. So, if somebody who knows JsDoc better than I do can have a look at it, that will definitely save me a lot of time; otherwise, I can investigate further myself.

geelen commented 10 years ago

This problem is now affecting the link on the Readme: http://prismicio.github.io/javascript-kit/

Is that the only public list of the JS methods available?

rudyrigot commented 10 years ago

Hey Glen, I've short-term-solved the issue for you so you can use it for your project.

This is messy though, and the procedure to generate it is not optimal, so I'll need to get back on it to come with a better way to do it. If you wish to help out and look at it with me, any help is welcome.

For further reference:

rudyrigot commented 10 years ago

So, I finally found a way to make it work for good! There is a workaround, since I couldn't figure out a way to group classes into a module with the syntax we're using; but the way I've done it is very readable, and no meaningful bit of code is undocumented now.

geelen commented 10 years ago

Success! Thanks for that.

rudyrigot commented 10 years ago

My pleasure! :)