You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a module with multiple exported classes
Each class is in its own file in the libs folder. I consider them separate modules as but combined into one as they are related and some scripts only need 2 or 3 of the classes etc. anyway...
I have a template set up with the API output as such:
so in otherwords, its ouputting all the functions from all pages for each script so I get 4 duplicates as it sees them as a single module. I am not sure how to fix this.
function 1
function 2
function 3
function 1
function 2
function 3
function1
function1
function 1
function 2
function 3
function 1
function 2
function 3
function1
function1
function 1
function 2
function 3
function 1
function 2
function 3
function1
function1
function 1
function 2
function 3
function 1
function 2
function 3
function1
function1
I have a module with multiple exported classes
Each class is in its own file in the libs folder. I consider them separate modules as but combined into one as they are related and some scripts only need 2 or 3 of the classes etc. anyway...
I have a template set up with the API output as such:
When I export
jsdoc2md --template ./README.hbs ./libs/*.js > ./README.md
I get the a loop of all functions from all pages put out the number of pages.
eg.
module1.function 1
module1.function 2
module1.function 3
module2.function 1
module2.function 2
module2.function 3
module3.function1
module4.function1
module1.function 1
module1.function 2
module1.function 3
module2.function 1
module2.function 2
module2.function 3
module3.function1
module4.function1
module1.function 1
module1.function 2
module1.function 3
module2.function 1
module2.function 2
module2.function 3
module3.function1
module4.function1
module1.function 1
module1.function 2
module1.function 3
module2.function 1
module2.function 2
module2.function 3
module3.function1
module4.function1
so in otherwords, its ouputting all the functions from all pages for each script so I get 4 duplicates as it sees them as a single module. I am not sure how to fix this.
Obviously, what I need is:
module1.function 1
module1.function 2
module1.function 3
module2.function 1
module2.function 2
module2.function 3
module3.function1
module4.function1
The text was updated successfully, but these errors were encountered: