Add banner on discontinued packages on dartdoc pages
Open
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:

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:
Contributor guide
Assessment
This issue has not been assessed yet.