@@ -341,6 +341,13 @@ AddType text/vtt vtt
341
341
# GitOps landing page
342
342
RewriteRule ^container-platform/(4\.11|4\.12|4\.13|4\.14|4\.15|4\.16|4\.17|4\.18)/cicd/gitops/about-redhat-openshift-gitops.html /gitops/latest/understanding_openshift_gitops/about-redhat-openshift-gitops.html [L,R=302]
343
343
344
+ # GitOps release notes version switch
345
+
346
+ RewriteRule ^gitops/1\.(8|9|10|11|12|13)/release_notes/gitops-release-notes-1-([0-9]+)\.html$ gitops/1.$1/release_notes/gitops-release-notes.html [L,R=302]
347
+ RewriteRule ^gitops/1\.14/release_notes/gitops-release-notes-1-14\.html$ - [L]
348
+ RewriteRule ^gitops/1\.15/release_notes/gitops-release-notes-1-15\.html$ - [L]
349
+ RewriteRule ^gitops/1\.(14|15)/release_notes/gitops-release-notes?(.*)\.html$ gitops/1.$1/release_notes/gitops-release-notes-1-$1.html [L,R=302]
350
+
344
351
# redirect any links to existing OCP embedded content to standalone equivalent for each assembly
345
352
RewriteRule ^container-platform/(4\.11|4\.12|4\.13|4\.14|4\.15|4\.16|4\.17|4\.18)/cicd/gitops/gitops-release-notes.html/ /gitops/latest/release_notes/gitops-release-notes-1-14.html [L,R=302]
346
353
RewriteRule ^container-platform/(4\.11|4\.12|4\.13|4\.14|4\.15|4\.16|4\.17|4\.18)/cicd/gitops/understanding-openshift-gitops.html /gitops/latest/understanding_openshift_gitops/about-redhat-openshift-gitops.html [L,R=302]
@@ -385,6 +392,15 @@ AddType text/vtt vtt
385
392
RewriteRule ^pipelines/?$ /pipelines/latest [R=302]
386
393
RewriteRule ^pipelines/latest/?(.*)$ /pipelines/1\.15/$1 [NE,R=302]
387
394
395
+ # Pipelines release notes version switch
396
+
397
+ RewriteRule ^pipelines/1\.(10|11|12|13|14|15)/release_notes/op-release-notes-1-([0-9]+)\.html$ pipelines/1.$1/about/op-release-notes.html [L,R=302]
398
+ RewriteRule ^pipelines/1\.16/release_notes/op-release-notes-1-16\.html$ - [L]
399
+ RewriteRule ^pipelines/1\.17/release_notes/op-release-notes-1-17\.html$ - [L]
400
+ RewriteRule ^pipelines/1\.(16|17)/release_notes/op-release-notes?(.*)\.html$ pipelines/1.$1/release_notes/pipelines-release-notes-1-$1.html [L,R=302]
401
+
402
+
403
+
388
404
# Pipelines landing page
389
405
390
406
RewriteRule ^container-platform/(4\.9|4\.10|4\.11|4\.12|4\.13|4\.14|4\.15|4\.16|4\.17|4\.18)/cicd/pipelines/about-pipelines.html /pipelines/latest/about/about-pipelines.html [NE,R=302]
0 commit comments