dart-lang / dart-lang/pub-dev

allow automatic upload of CM information with packages

Open
#7,433 9 comments 0 reactions 0 assignees View on GitHub
Type: enhancement
Dominant language
Dart
Stars
944
Forks
184
Avg merge
1d 15h
Merged PRs (30d)
12

Description

@mit-mit @isoos

Dartdoc now supports linking directly to source code for generated API documentation. However, in order for this to work with the pub site, users have to [autogenerate dartdoc_options.yaml files themselves](https://github.com/dart-lang/dartdoc/blob/9eadb603220ca6647e2f2183e67f5ae2c0e0d66a/tool/grind.dart#L786) with the necessary revision and linking information, and upload them with the package.

For a common case, uploading a package to pub from a github-backed repo for a package, it seems there should be some way to make this easier. It will probably require a design that spans dartdoc, pub, and the pub site.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.