jamesshore / quixote

CSS unit and integration testing
Other
848 stars 45 forks source link

Auto-generate API documentation (e.g., JSDoc) #23

Closed woldie closed 6 years ago

woldie commented 8 years ago

JSDoc can be used to generate offline documentation. There is a tool for compiling JSDoc to HTML that is actively developed. There are libraries like jsdoc-to-markdown that build on the jsdoc3 compiler and make it target Markdown. Not sure how well that works, but it may be an option to building the Quixote docs which you prefer to be available in markdown.

Needs discovery, is this a good idea?

jamesshore commented 8 years ago

I would love to have better documentation. Whatever approach we use, though, needs to fit two criteria:

I'm particularly concerned that auto-generated documentation will reduce quality. For example, when working with the Ember documentation, I found it very difficult to navigate, as it was obviously machine-generated and made it hard to find key concepts.

A partially automated approach might work--for example, we could automate the top-level API docs (QFrame, QElement, etc.) and keep a hand-generated approach for the descriptors.

jamesshore commented 8 years ago

(This question was originally raised in #22.)

jamesshore commented 6 years ago

Closing this issue due to lack of activity.