Closed trusktr closed 5 years ago
.ts
files are not supported by JSDoc core. So Docma cannot generate docs out of them.
I also write TypeScript mostly and generate docs from the transpiled .js
files.
If that's not working for you maybe check if there are any jsdoc plugins for .ts
files and use it within your docma.json
under jsdoc
config.
Oh I see. So you mean, the jsdoc parser can not parse jsdoc comments when they are among TypeScript code? It won't simply ignore the code and parse only the comments (which are plain regular jsdoc comments)?
Good idea to parse the output file docs! Thanks!
Might be cool to document this. Maybe in the future an extension for Docma could compile TS to JS, then generate from there.
Running it on the JS build output works great. Thanks!!!
I tried configuring
docma.json
withand it results in many messages like
I tried to force it to use
:js
on the TS files:and it said
Is that supposed to work?