Skip to content

Commit f0e5e2c

Browse files
Merge pull request #28952 from vikram-redhat/master
[WIP] update index-commercial for ARO docs
2 parents 81e0696 + df6f607 commit f0e5e2c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ 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+
# remove aro docs to just the welcome page
135+
RewriteRule aro/4/(?!welcome)(.*)?$ /container-platform/latest/$1 [L,R=301]
136+
134137
# Redirects for "latest" version
135138
RewriteRule ^(container-platform|enterprise)/?$ /container-platform/latest [R=301]
136139
RewriteRule ^(container-platform|enterprise)/latest/?(.*)$ /container-platform/4\.6/$2 [NE,R=301]

index-commercial.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ <h2>Azure Red Hat OpenShift</h2>
223223
<p class="list-group-item-text">Azure Red Hat OpenShift provides single-tenant, high-availability Kubernetes clusters on Azure, supported by Red Hat and Microsoft.</p>
224224
<p><a role="button" class="btn btn-primary" href="aro/4/welcome/index.html"><i class="fa fa-arrow-circle-o-right"></i> ARO Docs 4</a></p>
225225
<p><a role="button" class="btn btn-primary" href="aro/3/welcome/index.html"><i class="fa fa-arrow-circle-o-right"></i> ARO Docs 3</a></p>
226-
<p><a role="button" class="btn btn-primary" href="https://access.redhat.com/documentation/ja-jp/azure_red_hat_openshift/4/"><i class="fa fa-arrow-circle-o-right"></i> ARO 4 日本語翻訳</a></p>
227226

228227
</div>
229228
</div>

0 commit comments

Comments
 (0)