Skip to content

Commit ae0a873

Browse files
Merge pull request #85685 from kcarmichael08/acs-4.6-changes
Update docs for ACS 4.6
2 parents a6cbb66 + 39bca7a commit ae0a873

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,13 @@ AddType text/vtt vtt
138138
# ACS Redirects to go to the latest version - change here when a new version drops
139139
# it should probably be best to combine the next few lines in one reg exp but for clarity keeping them separate
140140
# the first one redirects
141-
RewriteRule ^acs/?$ /acs/4.5/welcome/index.html [R=301]
141+
RewriteRule ^acs/?$ /acs/4.6/welcome/index.html [R=301]
142142
# redirect to the latest release notes
143-
RewriteRule ^acs/release_notes/?$ /acs/4.5/release_notes/45-release-notes.html [R=301,NE]
143+
RewriteRule ^acs/release_notes/?$ /acs/4.6/release_notes/46-release-notes.html [R=301,NE]
144144
# redirect from ACS CLoud Service page
145-
RewriteRule ^acs/installing/install-ocp-operator.html /acs/4.5/installing/installing_ocp/init-bundle-ocp.html [NE,R=301]
146-
RewriteRule ^acs/(\D.*)$ /acs/4.5/$1 [NE,R=301]
147-
RewriteRule ^acs/(3\.65|3\.66|3\.67|3\.68|3\.69|3\.70|3\.71|3\.72|3\.73|3\.74|4\.0|4\.1|4\.2|4\.3|4\.4|4\.5)/?$ /acs/$1/welcome/index.html [L,R=301]
145+
RewriteRule ^acs/installing/install-ocp-operator.html /acs/4.6/installing/installing_ocp/init-bundle-ocp.html [NE,R=301]
146+
RewriteRule ^acs/(\D.*)$ /acs/4.6/$1 [NE,R=301]
147+
RewriteRule ^acs/(3\.65|3\.66|3\.67|3\.68|3\.69|3\.70|3\.71|3\.72|3\.73|3\.74|4\.0|4\.1|4\.2|4\.3|4\.4|4\.5|4\.6)/?$ /acs/$1/welcome/index.html [L,R=301]
148148
#redirect for 4.0 Manage vulneribility page
149149
RewriteRule ^(acs/(?:4\.0/)?)?operating/manage-vulnerabilities\.html$ /acs/4.0/operating/manage-vulnerabilities/vulnerability-management.html [NE,R=301]
150150
#redirect for missing 4.3 page

_distro_map.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,9 @@ openshift-acs:
319319
rhacs-docs-4.5:
320320
name: '4.5'
321321
dir: acs/4.5
322+
rhacs-docs-4.6:
323+
name: '4.6'
324+
dir: acs/4.6
322325
microshift:
323326
name: Red Hat build of MicroShift
324327
author: OpenShift Documentation Project <openshift-docs@redhat.com>

_templates/_page_openshift.html.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@
257257
<%= distro %>
258258
</a>
259259
<select id="version-selector" onchange="versionSelector(this);">
260+
<option value="4.6">4.6</option>
260261
<option value="4.5">4.5</option>
261262
<option value="4.4">4.4</option>
262263
<option value="4.3">4.3</option>

index-commercial.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ <h2>Red Hat Advanced Cluster Security for Kubernetes</h2>
245245
<div class="btn-group">
246246
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Select version<span class="caret"></span></button>
247247
<ul class="dropdown-menu" role="menu">
248+
<li><a href="acs/4.6/welcome/index.html"><i class="fa fa-arrow-circle-o-right"></i> RHACS 4.6</a></li>
248249
<li><a href="acs/4.5/welcome/index.html"><i class="fa fa-arrow-circle-o-right"></i> RHACS 4.5</a></li>
249250
<li><a href="acs/4.4/welcome/index.html"><i class="fa fa-arrow-circle-o-right"></i> RHACS 4.4</a></li>
250251
<li><a href="acs/4.3/welcome/index.html"><i class="fa fa-arrow-circle-o-right"></i> RHACS 4.3</a></li>

0 commit comments

Comments
 (0)