angular / dgeni-packages

A collection of dgeni packages for generating documentation from source code.
MIT License
142 stars 101 forks source link

feat(typescript): add option to disable leading comment concatenation #270

Closed devversion closed 6 years ago

devversion commented 6 years ago

Introduces a new option that allows developers to configure the tsHost to not concatenate multiple leading comments for a TypeScript node content.

The tsHost is a newly created service that delegates (for now) to the tsParser package for retrieving the content of a given node. The advantage of the tsHost is that people can inject the tsHost in Dgeni .config() and specify options or overwrite methods.

Related angular/material2#12736.

devversion commented 6 years ago

@petebacondarwin Done. Thanks for your review. Please have another look.

devversion commented 6 years ago

I just realize that the commit description and title are outdated. Do you want me to update them? Otherwise you can just change the title when merging? (should be easy when using squash&merge from GitHub).

devversion commented 6 years ago

@petebacondarwin I've squashed all commits and tried to create an appropriate description & title. Please have another look. Thanks!

petebacondarwin commented 6 years ago

Released as 0.26.6

devversion commented 6 years ago

@petebacondarwin Awesome. Thanks!