admin管理员组文章数量:1379438
I have a bit of experience with angular 2, but I'm still relatively new to the Framework. While looking around, I discovered something called ngdocs. It's very nice because it creates a sort of documentation / wiki area for you based on the ments in your code. (similar to js docs). However, it seems to be written exclusively for use with angular 1.XX.
I've done some searching around, but can't seem to find anything that would provide similar functionality for angular 2. Does anyone know if there is something similar to ng-docs for angular 2?
I have a bit of experience with angular 2, but I'm still relatively new to the Framework. While looking around, I discovered something called ngdocs. It's very nice because it creates a sort of documentation / wiki area for you based on the ments in your code. (similar to js docs). However, it seems to be written exclusively for use with angular 1.XX.
I've done some searching around, but can't seem to find anything that would provide similar functionality for angular 2. Does anyone know if there is something similar to ng-docs for angular 2?
Share Improve this question edited Dec 27, 2017 at 11:41 Alejandro Morán 7191 gold badge15 silver badges38 bronze badges asked May 9, 2016 at 15:44 Ryan La ForgeRyan La Forge 2611 silver badge4 bronze badges 1- Some things to note: - I'm using angular 2 with typescript. - I've tried using ngdocs with angular 2. I can't really use it because: 1. The generated documentation is using angular 1. 2. The typescript piler often strips ments (they need to be in certain areas). 3. the @ngdoc tag does not let me organize the docs in a way that make sense for angular 2. (i.e. build errors on ponent tag) Also, I'm using ngdocs with gulp. – Ryan La Forge Commented May 9, 2016 at 15:57
2 Answers
Reset to default 4The only thing I have found so far is TypeDoc. It is not specific to angular but it will create some documentation for you based off of the typescript. It does appear to lack the ability to do certain things you may be used to with ngDoc (live examples and such).
There is also a project called Compodoc (https://medium./vincent-ogloblinsky/podoc-documentation-tool-for-angular-2-applications-44ec650e01a8), which generates documentation specific for Angular 2/4.
They are using normal ments and have added support of markdown syntax as well.
本文标签: javascriptAngular 2 documentationis there an ngdocs for angular 2Stack Overflow
版权声明:本文标题:javascript - Angular 2 documentationis there an ngdocs for angular 2? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744419142a2605348.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论