ocaml.org icon indicating copy to clipboard operation
ocaml.org copied to clipboard

When a package version doesn't exist, still show the package 404 page that has the version switcher

Open sabine opened this issue 1 month ago • 0 comments

When you go to https://ocaml.org/p/cmdliner/1.1.0/doc/Cmdliner/Cmd/index.html, you see the regular 404 page of OCaml.org.

However, it would be better to show the package 404 page that includes the list of available versions to switch between (Ocamlorg_frontend.package_documentation_not_found) - this helps people more gracefully recover from following backlinks to packages that were removed from opam for some reason.

sabine avatar Sep 24 '25 12:09 sabine