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

Cache the documentation status for all versions of a package

Open sabine opened this issue 2 years ago • 1 comments

I think we need to cache the documentation status (exists / does not exist) for every version of a package.

Why?

  • As Sonja mentions in https://github.com/ocaml/ocaml.org/issues/1343, we sometimes see 404 errors on the documentation under the latest URL. This is when a package has been added to opam-repository and ocaml.org has picked up the new package info - but the documentation has not been built yet. It would be great to be able to add a redirect to the newest package version that has docs on ocaml.org
  • In an eventual overhaul of the package version switcher we want to show the documentation status of any version of the package
  • in the package search results, it will be nice to show whether there's docs

sabine avatar Jul 05 '23 09:07 sabine

@sabine this is the same thing I'm working on, right?

kiyov09 avatar Jan 19 '24 18:01 kiyov09