Skip to content

Commit

Permalink
chore(docs): fix v1.1 redirect
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Frolov <evgeniy.frolov@flant.com>
  • Loading branch information
Fral738 committed Dec 17, 2024
1 parent 0290419 commit 92c6940
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .helm/templates/_rewrites.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ rewrite ^/docs/(?<ver>v1\.2(?:\.\d+(?:[^/]+)?)?|latest)/reference/cli/?$
rewrite ^/docs/(?<ver>v1\.2(?:\.\d+(?:[^/]+)?)?|latest)/resources/?$ /docs/$ver/resources/cheat_sheet.html redirect;

rewrite ^/docs/(?<ver>v1\.1(?:\.\d+(?:[^/]+)?)?|latest)/?$ /docs/$ver/index.html redirect;
rewrite ^/docs/(?<ver>v1\.1(?:\.\d+(?:[^/]+)?)?|latest)/usage/?$ /docs/$ver/index.html redirect;
rewrite ^/docs/(?<ver>v1\.1(?:\.\d+(?:[^/]+)?)?|latest)/usage/project_configuration/?$ /docs/$ver/index.html redirect;
rewrite ^/docs/(?<ver>v1\.1(?:\.\d+(?:[^/]+)?)?|latest)/configuration/?$ /docs/$ver/configuration/introduction.html redirect;
rewrite ^/docs/(?<ver>v1\.1(?:\.\d+(?:[^/]+)?)?|latest)/configuration/stapel_image/?$ /docs/$ver/configuration/stapel_image/naming.html redirect;
rewrite ^/docs/(?<ver>v1\.1(?:\.\d+(?:[^/]+)?)?|latest)/reference/?$ /docs/$ver/reference/stages_and_images.html redirect;
Expand Down

0 comments on commit 92c6940

Please sign in to comment.