Skip to content

Remove unused doc directives related to categories. #3565

Closed
@srawlins

Description

@srawlins

The categories feature has a number of doc directives that have only ever been half supported: {@api}, {@samples}, and {@image}. Dartdoc only goes so far as to relay data from these directives into a categories.json file (see generateCategoryJson), but they aren't used in the web side. (Maybe we just needed to make them available for custom templates?)

Anyhow I think we can now drop support for all three. The analyzer now parses directives and reports when it sees an "unknown" directive. It does not have support for these three directives, and we have not seen any bugs that it reports their use.

Metadata

Metadata

Assignees

Labels

type-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