Skip to content

deprecate and remove standalone dartdoc tool #44610

@jcollins-g

Description

@jcollins-g

The dartdoc tool needs to be removed as a standalone tool in the SDK.

Checklist:


Possible alternatives include:

1) Simply deprecating/deleting it and taking no further action, requiring users to use pub global activate dartdoc to install a package to document code. This is a straightforward approach that matches with recommended best practice for using dartdoc.
2) Deprecating the standalone tool, and replacing it with a wrapper inside dartdev that uses pub global activate internally to install dartdoc, then pass dartdoc the command line parameters.

3) Deprecating the standalone tool, and replacing it with a full version of dartdoc linked into dartdev as a library.

2 and 3 look largely the same to the user, 2 being more fragile and requiring network access but also more compact for SDK size.

My inclination is to go with option 1, funneling all users to the pub package.
edit: option 3 was chosen.

cc @mit-mit, @devoncarew, @bkonyi for input

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onarea-buildUse area-build for SDK build issues.area-pkgUsed for miscellaneous pkg/ packages not associated with specific area- teams.deprecation

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions