ionic-team / capacitor-docgen

Docs Readme Markdown and JSON Generator for Capacitor Plugins.
https://capacitorjs.com/
Other
12 stars 8 forks source link

bug: Non-accessible APIs from external dependencies are part of the output #36

Closed robingenz closed 2 years ago

robingenz commented 2 years ago

Hi, thank you very much for this helpful generator. I have the following problem since version 0.1.1: APIs of external dependencies are included, which are not available via the plugin API (definitions.ts).

Here you can find an example: https://github.com/robingenz/capacitor-firebase-authentication/pull/122/files

In this project I have increased the version of docgen to 0.1.1 and updated the markdown. There are now many interfaces included (partly also twice), which are not available at all.

jcesarmobile commented 2 years ago

fixed on https://github.com/ionic-team/capacitor-docgen/pull/39

WoodyWoodsta commented 1 year ago

Not sure why but I'm getting this issue on v0.2.1.

I've imported a type library, and exported a few of its types, but the generated docs include all exports by that library (which, as in the original description of this issue, are not available outside of the plugin).