Merge pull request #34005 from sftim/20220528_warn_katacoda_removal

Add warning about Katacoda shutdown
pull/34081/head
Kubernetes Prow Robot 2022-05-31 11:42:24 -07:00 committed by GitHub
commit 7eb8181d0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 23 additions and 7 deletions

View File

@ -11,7 +11,7 @@ weight: 20
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<link href="/docs/tutorials/kubernetes-basics/public/css/overrides.css" rel="stylesheet">
<script src="https://katacoda.com/embed.js"></script>
{{< katacoda-tutorial >}}
<div class="layout" id="top">

View File

@ -11,7 +11,7 @@ weight: 20
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<link href="/docs/tutorials/kubernetes-basics/public/css/overrides.css" rel="stylesheet">
<script src="https://katacoda.com/embed.js"></script>
{{< katacoda-tutorial >}}
<div class="layout" id="top">

View File

@ -11,7 +11,7 @@ weight: 20
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<link href="/docs/tutorials/kubernetes-basics/public/css/overrides.css" rel="stylesheet">
<script src="https://katacoda.com/embed.js"></script>
{{< katacoda-tutorial >}}
<div class="layout" id="top">

View File

@ -11,7 +11,7 @@ weight: 20
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<link href="/docs/tutorials/kubernetes-basics/public/css/overrides.css" rel="stylesheet">
<script src="https://katacoda.com/embed.js"></script>
{{< katacoda-tutorial >}}
<div class="layout" id="top">

View File

@ -11,7 +11,7 @@ weight: 20
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<link href="/docs/tutorials/kubernetes-basics/public/css/overrides.css" rel="stylesheet">
<script src="https://katacoda.com/embed.js"></script>
{{< katacoda-tutorial >}}
<div class="layout" id="top">

View File

@ -11,7 +11,7 @@ weight: 20
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<link href="/docs/tutorials/kubernetes-basics/public/css/overrides.css" rel="stylesheet">
<script src="https://katacoda.com/embed.js"></script>
{{< katacoda-tutorial >}}
<div class="layout" id="top">

View File

@ -11,7 +11,7 @@ weight: 20
<link href="/docs/tutorials/kubernetes-basics/public/css/styles.css" rel="stylesheet">
<link href="/docs/tutorials/kubernetes-basics/public/css/overrides.css" rel="stylesheet">
<script src="https://katacoda.com/embed.js"></script>
{{< katacoda-tutorial >}}
<div class="layout" id="top">

View File

@ -96,6 +96,9 @@ other = "email address"
[javascript_required]
other = "JavaScript must be [enabled](https://www.enable-javascript.com/) to view this content"
[katacoda_removal_warning]
other = """This online tutorial on this page uses functionality that will [not be available](https://www.oreilly.com/online-learning/leveraging-katacoda-technology.html) past <time datetime="2022-06-15">June 15th, 2022</time>."""
[latest_release]
other = "Latest Release:"

View File

@ -24,6 +24,11 @@
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
{{ block "deprecated" . }}
{{ partial "deprecation-warning.html" . }}
{{ end }}
{{ if or ( .HasShortcode "kat-button" ) ( .HasShortcode "katacoda-tutorial" ) }}
{{ block "katacoda-removal" . }}
{{ partial "katacoda-removal.html" . }}
{{ end }}
{{ end }}
{{ block "main" . }}{{ end }}
{{- if .HasShortcode "thirdparty-content" -}}

View File

@ -0,0 +1,7 @@
<section id="katacoda-removal-warning">
<div class="content warning pageinfo pageinfo-warning">
<p>
{{ T "katacoda_removal_warning" | markdownify }}
</p>
</div>
</section>

View File

@ -0,0 +1 @@
<script defer src="https://katacoda.com/embed.js"></script>