Skip to content

Commit 2432b3a

Browse files
committed
OSSM-6903: Create redirect from OCP stub page to 3.0 standalone doc
1 parent 4c481c5 commit 2432b3a

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.s2i/httpd-cfg/01-commercial.conf

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,15 +362,21 @@ AddType text/vtt vtt
362362
RewriteRule ^container-platform/(4\.11|4\.12|4\.13|4\.14|4\.15|4\.16|4\.17|4\.18)/cicd/gitops/collecting-debugging-data-for-support.html /gitops/latest/understanding_openshift_gitops/gathering-gitops-diagnostic-information-for-support.html [L,R=302]
363363
RewriteRule ^container-platform/(4\.11|4\.12|4\.13|4\.14|4\.15|4\.16|4\.17|4\.18)/cicd/gitops/troubleshooting-issues-in-GitOps.html /gitops/latest/troubleshooting_gitops_issues/auto-reboot-during-argo-cd-sync-with-machine-configurations.html [L,R=302]
364364

365-
366-
# Lightspeed handling unversioned and latest links
365+
# Lightspeed handling unversioned and latest links
367366
RewriteRule ^lightspeed/?$ /lightspeed/latest [R=302]
368367
RewriteRule ^lightspeed/latest/?(.*)$ /lightspeed/1\.0tp1/$1 [NE,R=302]
369368

370369
# Lightspeed landing page
371370

372371
RewriteRule ^container-platform/(4\.9|4\.10|4\.11|4\.12|4\.13|4\.14|4\.15|4\.16|4\.17|4\.18)/lightspeed/about/ols-openshift-lightspeed-overview.html /lightspeed/latest/about/ols-about-openshift-lightspeed.html [NE,R=302]
373372

373+
# Service Mesh handling unversioned and latest links
374+
RewriteRule ^service-mesh/?$ /service-mesh/latest [R=302]
375+
RewriteRule ^servce-mesh/latest/?(.*)$ /service-mesh/3\.0.0tp1/$1 [NE,R=302]
376+
377+
# Service Mesh landing page
378+
379+
RewriteRule ^container-platform/(4\.9|4\.10|4\.11|4\.12|4\.13|4\.14|4\.15|4\.16|4\.17|4\.18)/service-mesh/about/ossm-about-openshift-service-mesh.html /service-mesh/latest/about/ossm-about-openshift-service-mesh.html [NE,R=302]
374380

375381
# Pipelines handling unversioned and latest links
376382
RewriteRule ^pipelines/?$ /pipelines/latest [R=302]

_templates/_page_openshift.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@
285285
<%= distro %>
286286
</a>
287287
<select id="version-selector" onchange="versionSelector(this);">
288-
<option value="3.0.0tp1">3.0tp1</option>
288+
<option value="3.0.0tp1">3.0.0tp1</option>
289289
</select>
290290
<% elsif (distro_key == "openshift-telco") %>
291291
<a href="https://docs.openshift.com/container-platform-telco/<%= version %>/welcome/index.html">

0 commit comments

Comments
 (0)