ember-learn / ember-jsonapi-docs

fixes up the ember docs generated by YUIDoc to be in JSONAPI format + some other niceties
9 stars 11 forks source link

Cannot generate docs from local #74

Open Gaurav0 opened 4 years ago

Gaurav0 commented 4 years ago

it looks like the updates over the past week have broken the ability for ember-jsonapi-docs to generate local api documentation. Not sure what is going on? Nothing appears for the new version in tmp/json-docs/ember or tmp/json-docs/ember-data

As a result, the generated version does not appear in the dropdown in ember-api-docs when running yarn start:local.

See also #70

Going back to commit 8a34672cffdd73fd2c1fa40139242f3af993b32a fixes that ability, although it hangs on downloading past versions.

This issue is holding up https://github.com/emberjs/data/pull/6449

ghost commented 4 years ago

Thanks for opening this @Gaurav0! this is the underlying issue of #70. I can tests any fixes for this while previewing emberjs/data#6449

ghost commented 4 years ago

This is a total hack, but I can preview the local documentation for a given version if I disable the S3 syncing portions here: https://github.com/ember-learn/ember-jsonapi-docs/compare/master...efx:local-single-project?expand=1 Then run node -r esm index.js This unblocks me so I can start previewing and testing ember-data API documentation.

ghost commented 4 years ago

@sivakumar-kailasam I'm happy contribute here to resolve this if that would be helpful / test any changes. Just ping me here or on discord if so.