docascode / Node2DocFX

An API documentation generator for JavaScript.
MIT License
3 stars 3 forks source link

Support for documentation only in global scope #11

Closed DennisvHest closed 5 years ago

DennisvHest commented 5 years ago

I noticed that documentation was not generated for Javascript files with functions that where exported only in the global scope. Only if you added at least one other item (like a class other than the global class), did it generate documentation for everything including the global functions.

This was because it checked if there where any classes with documentation other than the global class, but if the global class has items, it should also generate documentation for these items.

DennisvHest commented 5 years ago

Actually, to fully implement this, modules would have to be supported, so I am closing this pull request for now.