Skip to content

Commit

Permalink
docs: fix redirects for /docs URLs
Browse files Browse the repository at this point in the history
We should support old links with `/docs`.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
  • Loading branch information
smira committed Mar 24, 2022
1 parent 7283efd commit 9ff42b4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions website/static/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
## See https://dev.to/faraixyz/setting-a-custom-output-format-in-hugo-for-netlify-or-gitlab-page-s-redirects-file-4dcf
## for what I'm talking about
/docs /v0.14 302
/docs/latest /v0.14 302
/docs/latest/* /v0.14/:splat 302
/docs/* /:splat 302

/latest /v0.14 302
/latest/* /v0.14/:splat 302
/latest/* /v0.14/:splat 302

0 comments on commit 9ff42b4

Please sign in to comment.