Is there a documentation generator (may be a node package) like in other programming languages (jsdoc / phpdoc / javadoc / ..) for typescript-based Angular2-Projects?
2 Answers
This seems to be a viable solution :compodoc
3 Comments
BrokenBinary
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
Florian
I found compodoc-project was the best solution in case you have an angular2-project. The documentation covers everything you might expect from good docs, compodocs can identify angular2 modules/classes/services/annotations etc. and structures the output accordingly... Also, i found the included docs-coverage report very useful. Didn't try it with a pure typescript project, put i guess this would look like the output for 'pure' classes without annotations.
Xinan
I found this tool the best for my Angular + TypeScript project.
If you are using TypeScript then "Typedoc.org" can be useful for you. http://typedoc.org/
2 Comments
shan kulkarni
Ya, it got closed. I will find another
Adrian Lopez
If you are going to use Typedoc, I recommend you to create your own conventions since the defaults are pretty basic. We took some inspiration from here.
npm run build.docs. But I would need a independent library/package/etc..