Open ThomasBurleson opened 8 years ago
Agreed.
@ThomasBurleson is there any updates on this awesome feature? I would like to contribute on this if there are any work already done. Because I want to use it myself.
As I heard, team more focused on delivering Angular Material 2, so this feature not high priority right now, I guess. Which is kind of sad thing, because offline-docs are really helpful. With an addition of some hot-keys in IDE. It really makes development easier and faster.
@keeprock I didn't start with that yet but I'd be happy to let others work on this.
https://github.com/technosophos/dashing seems promising. I tried it out with a bare minimum configuration and it sort of worked.
The main effort to get this working seems to be mapping these selectors
to the proper "Entry Types":
{
"name": "AngularJS Material",
"package": "angularjs-material",
"index": "index.html",
"selectors": {
".api-profile-header h2": "Section",
".api-params-item": "Parameter",
".api-type": "Type",
"title": "Package"
},
"ignore": [],
"icon32x32": "../AngularJS-Material-Icon-32x32.png",
"allowJS": true,
"ExternalURL": "https://material.angularjs.org"
}
But even then, it seems like it needs pre-rendered, static docs to process, otherwise you get a lot of {{currentDoc.name}} API Documentation
entries.
Another approach is to use https://github.com/theasta/jsdoc-dash-template to generate the docset from our JSDoc. However, when I tried that it was clear that it doesn't understand Markdown (links, back ticks, etc) in JSDoc comments or any of the dgeni custom code that we rely upon.
Useful to integrate online docs into WebStorm and Dash