Skip to content

dartdoc directive handling is internally inconsistent and inefficient #3397

Open
@jcollins-g

Description

@jcollins-g

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work ontype-tech-debtIssues that slow or block desirable development paths for Dartdoc, or create such problems for users

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions