sbt-typelevel icon indicating copy to clipboard operation
sbt-typelevel copied to clipboard

Laika/Helium extension for redirecting to versioned docs

Open armanbilge opened this issue 3 years ago • 1 comments

First demoed this idea in https://github.com/http4s/http4s-jdk-http-client/pull/582.

<!DOCTYPE html>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; URL=0.7">
<link rel="canonical" href="0.7">

Which itself was grabbed from this gist: https://gist.github.com/domenic/1f286d415559b56d725bee51a62c24a7

armanbilge avatar Mar 03 '22 04:03 armanbilge

I think a redirect thing is useful in general. Not just for versioned docs. Would be cool to upstream to Laika, but I suspect it's out of scope since this problem is pretty specific to GitHub Pages.

armanbilge avatar Apr 07 '22 18:04 armanbilge