dart-lang / dart-lang/pub-dev

Add banner on discontinued packages on dartdoc pages

Open
#6,086 1 comment 2 reactions 0 assignees View on GitHub
Type: enhancement
Dominant language
Dart
Stars
944
Forks
184
Avg merge
1d 15h
Merged PRs (30d)
12

Description

Pub.dev supports [marking a package as discontinued](). When this happens the main pub.dev UI shows a prominent red [DISCONTINUED] badge:

Screen Shot 2022-09-27 at 13 57 34

However, the generated API docs pages don't show any such indication. As these pages are still hosted (to allow for potential continued use), developers might stumble into them. We should add an indication on these pages; I suggest a banner right below the top bar before the API docs themselves:

Screen Shot 2022-09-27 at 13 11 28

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.