Skip to content

Commit 299bc5a

Browse files
committed
adding new distro updates
1 parent e6fc2f6 commit 299bc5a

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

_distro_map.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,16 @@ openshift-webscale:
187187
enterprise-4.8:
188188
name: '4.8'
189189
dir: container-platform-ocp/4.8
190+
openshift-dpu:
191+
name: OpenShift Container Platform
192+
author: OpenShift Documentation Project <[email protected]>
193+
site: commercial
194+
site_name: Documentation
195+
site_url: https://docs.openshift.com/
196+
branches:
197+
enterprise-4.10:
198+
name: '4.10'
199+
dir: container-platform-dpu/4.10
190200
openshift-acs:
191201
name: Red Hat Advanced Cluster Security for Kubernetes
192202
author: OpenShift documentation team <[email protected]>

_templates/_page_openshift.html.erb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<meta content="IE=edge" http-equiv="X-UA-Compatible">
1111
<meta content="width=device-width, initial-scale=1.0" name="viewport">
1212
<%= (distro_key == "openshift-webscale") ? '<meta name="robots" content="noindex,nofollow">' : '' %>
13+
<%= (distro_key == "openshift-dpu") ? '<meta name="robots" content="noindex,nofollow">' : '' %>
1314
<%= ((["3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.9", "3.10", "4.1", "4.2", "4.3", "4.4", "4.5"].include?(version)) && distro_key == "openshift-enterprise") ? '<meta name="googlebot" content="noindex">' : '' %>
1415
<title><%= [topic_title, subgroup_title].compact.join(' - ') %> | <%= group_title %> | <%= distro %> <%= version %></title>
1516
<link href="https://assets.openshift.net/content/subdomain.css" rel="stylesheet" type="text/css">
@@ -66,6 +67,14 @@
6667
</span>
6768
<% end %>
6869

70+
<% if (version == "4.10" || distro_key == "openshift-dpu") %>
71+
<span>
72+
<div class="alert alert-danger" role="alert" id="support-alert">
73+
<strong>This documentation is work in progress and might not be complete or fully tested.</strong> The latest supported version of version 3 is <a href="https://docs.openshift.com/container-platform/3.11/welcome/index.html" class="link-primary" style="color: #545454 !important;">[3.11]</a>. For the most recent version 4, see <a href="https://docs.openshift.com/container-platform/latest/welcome/index.html" style="color: #545454 !important" class="link-primary">[4]</a>.
74+
</div>
75+
</span>
76+
<% end %>
77+
6978
<% if ((unsupported_versions.include? version) && (distro_key == "openshift-enterprise")) %>
7079

7180
<span>

_topic_maps/_topic_map.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2054,7 +2054,7 @@ Topics:
20542054
---
20552055
Name: Scalability and performance
20562056
Dir: scalability_and_performance
2057-
Distros: openshift-origin,openshift-enterprise,openshift-webscale
2057+
Distros: openshift-origin,openshift-enterprise,openshift-webscale,openshift-dpu
20582058
Topics:
20592059
- Name: Recommended installation practices
20602060
File: recommended-install-practices

0 commit comments

Comments
 (0)