Skip to content

Commit 45c0725

Browse files
committed
updating with rosa/dedicated to no version
1 parent 31af8ca commit 45c0725

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ AddType text/vtt vtt
131131
# Redirect ARO non versioned docs to go to version 3 docs
132132
RewriteRule ^(aro)/(?!3/|4/)(.*)$ /aro/3/$2 [NE,R=301]
133133

134+
# Redirect ROSA version 4 docs to go to non versioned docs
135+
RewriteRule ^rosa/4/?$ /rosa/welcome/index.html [L,R=301]
136+
RewriteRule ^rosa/4/(.*)$ /rosa/$1 [NE,R=301]
137+
134138
# remove aro docs to just the welcome page
135139
RewriteRule aro/4/(?!welcome)(.*)?$ /container-platform/latest/$1 [L,R=301]
136140

@@ -153,7 +157,7 @@ AddType text/vtt vtt
153157

154158
RewriteRule ^container-platform/4\.7/installing/install_config/customizations.html /container-platform/4.7/post_installation_configuration/cluster-tasks.html#available_cluster_customizations [NE,R=301]
155159

156-
RewriteRule ^container-platform/4\.7/installing/install_config/configuring-private-cluster.html /container-platform/4.7/post_installation_configuration/configuring-private-cluster.html [NE,R=301]
160+
RewriteRule ^container-platform/4\.7/installing/install_config/configuring-private-cluster.html /container-platform/4.7/post_installation_configuration/configuring-private-cluster.html [NE,R=301]
157161

158162
# end 4.7 redirects
159163

@@ -328,6 +332,7 @@ AddType text/vtt vtt
328332

329333
RewriteRule ^dedicated/(3|4)/?$ /dedicated/$1/welcome/index.html [L,R=301]
330334
RewriteRule ^aro/(3|4)/?$ /aro/$1/welcome/index.html [L,R=301]
335+
RewriteRule ^rosa/?$ /rosa/welcome/index.html [L,R=301]
331336
RewriteRule ^enterprise/(3\.0|3\.1|3\.2)/?$ /enterprise/$1/welcome/index.html [L,R=301]
332337
RewriteRule ^enterprise/3\.3/?$ /container-platform/3.3/welcome/index.html [L,R=301]
333338
RewriteRule ^container-platform/(3\.3|3\.4|3\.5|3\.6|3\.7|3\.9|3\.10|3\.11|4\.1|4\.2|4\.3|4\.4|4\.5|4\.6|4\.7)/?$ /container-platform/$1/welcome/index.html [L,R=301]

_distro_map.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ openshift-dedicated:
6363
enterprise-4.3:
6464
name: '4'
6565
dir: dedicated/4
66+
dedicated-4:
67+
name: ''
68+
dir: dedicated/
6669
openshift-aro:
6770
name: Azure Red Hat OpenShift
6871
author: OpenShift Documentation Project <[email protected]>
@@ -83,9 +86,9 @@ openshift-rosa:
8386
site_name: Documentation
8487
site_url: https://docs.openshift.com/
8588
branches:
86-
enterprise-4.5:
87-
name: '4'
88-
dir: rosa/4
89+
dedicated-4:
90+
name: ''
91+
dir: rosa/
8992
partner-roks:
9093
name: Red Hat OpenShift on IBM Cloud
9194
author: OpenShift Documentation Project <[email protected]>

0 commit comments

Comments
 (0)