haskell / haskell/hackage-server
/docs redirect doesn't take into account deprecated packages
- Dominant language
- Haskell
- Stars
- 467
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
In Hoogle, if you search for `FunBind` the first result links to https://hackage.haskell.org/package/ghc/docs/Language-Haskell-Syntax-Binds.html#v:FunBind. The URL https://hackage.haskell.org/package/ghc takes me to GHC 9.2.3, which is the second-latest version, as the subsequent ghc-9.2.3.20220620 has been marked deprecated. However, https://hackage.haskell.org/package/ghc/docs redirects to https://hackage.haskell.org/package/ghc-9.2.3.20220620/docs/ - the deprecated version, which in this case has no documentation.
It would be good if /docs shared the same logic as the non-docs link.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.