dartdoc directive handling is internally inconsistent and inefficient #3397
Labels
P2
A bug or feature request we're likely to work on
type-tech-debt
Issues that slow or block desirable development paths for Dartdoc, or create such problems for users
Some dartdoc directives are implemented via an ad-hoc plugin system with
buildDocumentationAddition
, others are implemented directly as part of DocumentationComment, and the whole thing kind of comes together a bit awkwardly.Redesign this so that each directive implementation is split out into its own class, and
DocumentationComment
can have different directives registered as valid on different symbol types (Class
,Library
, etc).The text was updated successfully, but these errors were encountered: