sbt-typelevel
sbt-typelevel copied to clipboard
Laika/Helium extension for redirecting to versioned docs
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
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.