pub-dev icon indicating copy to clipboard operation
pub-dev copied to clipboard

Add banner on discontinued packages on dartdoc pages

Open mit-mit opened this issue 3 years ago • 1 comments

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

mit-mit avatar Sep 27 '22 11:09 mit-mit

Still relevant

sigurdm avatar Nov 27 '25 09:11 sigurdm