Skip to content

Commit 46fb32a

Browse files
authored
Merge pull request #46323 from sftim/20240511_post_kata_custom_404_pages
Turn interactive tutorials into custom 404 pages
2 parents f0130b3 + 1bd0de1 commit 46fb32a

File tree

7 files changed

+50
-6
lines changed

7 files changed

+50
-6
lines changed

content/en/docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive.html renamed to content/en/docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive-gone.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
---
2-
title: Interactive Tutorial - Creating a Cluster
2+
title: Not found
3+
# This page was previously titled "Interactive Tutorial - Creating a Cluster"
4+
# before Katacoda shut down.
5+
#
6+
# There is no need to localize this Not Found page; the website automatically
7+
# serves a 404 response when a page is missing. If you have an existing localized
8+
# version of this page, it is OK to remove that localized version.
39
weight: 20
410
headless: true
511
toc_hide: true

content/en/docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive.html renamed to content/en/docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive-gone.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
---
2-
title: Interactive Tutorial - Deploying an App
2+
title: Not found
3+
# This page was previously titled "Interactive Tutorial - Deploying an App"
4+
# before Katacoda shut down.
5+
#
6+
# There is no need to localize this Not Found page; the website automatically
7+
# serves a 404 response when a page is missing. If you have an existing localized
8+
# version of this page, it is OK to remove that localized version.
39
weight: 20
410
headless: true
511
toc_hide: true

content/en/docs/tutorials/kubernetes-basics/explore/explore-interactive.html renamed to content/en/docs/tutorials/kubernetes-basics/explore/explore-interactive-gone.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
---
2-
title: Interactive Tutorial - Exploring Your App
2+
title: Not found
3+
# This page was previously titled "Interactive Tutorial - Exploring Your App"
4+
# before Katacoda shut down.
5+
#
6+
# There is no need to localize this Not Found page; the website automatically
7+
# serves a 404 response when a page is missing. If you have an existing localized
8+
# version of this page, it is OK to remove that localized version.
39
weight: 20
410
headless: true
511
toc_hide: true

content/en/docs/tutorials/kubernetes-basics/expose/expose-interactive.html renamed to content/en/docs/tutorials/kubernetes-basics/expose/expose-interactive-gone.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
---
2-
title: Interactive Tutorial - Exposing Your App
2+
title: Not found
3+
# This page was previously titled "Interactive Tutorial - Exposing Your App"
4+
# before Katacoda shut down.
5+
#
6+
# There is no need to localize this Not Found page; the website automatically
7+
# serves a 404 response when a page is missing. If you have an existing localized
8+
# version of this page, it is OK to remove that localized version.
39
weight: 20
410
headless: true
511
toc_hide: true

content/en/docs/tutorials/kubernetes-basics/scale/scale-interactive.html renamed to content/en/docs/tutorials/kubernetes-basics/scale/scale-interactive-gone.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
---
2-
title: Interactive Tutorial - Scaling Your App
2+
title: Not found
3+
# This page was previously titled "Interactive Tutorial - Scaling Your App"
4+
# before Katacoda shut down.
5+
#
6+
# There is no need to localize this Not Found page; the website automatically
7+
# serves a 404 response when a page is missing. If you have an existing localized
8+
# version of this page, it is OK to remove that localized version.
39
weight: 20
410
headless: true
511
toc_hide: true

content/en/docs/tutorials/kubernetes-basics/update/update-interactive.html renamed to content/en/docs/tutorials/kubernetes-basics/update/update-interactive-gone.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
---
2-
title: Interactive Tutorial - Updating Your App
2+
title: Not found
3+
# This page was previously titled "Interactive Tutorial - Updating Your App"
4+
# before Katacoda shut down.
5+
#
6+
# There is no need to localize this Not Found page; the website automatically
7+
# serves a 404 response when a page is missing. If you have an existing localized
8+
# version of this page, it is OK to remove that localized version.
39
weight: 20
410
headless: true
511
toc_hide: true

static/_redirects

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@
3434
/docs/reference/kubectl/cheatsheet/ /docs/reference/kubectl/quick-reference/ 301
3535
/kubectlguide /docs/reference/kubectl/quick-reference/ 302
3636

37+
# Serve custom "not found" pages
38+
/docs/tutorials/kubernetes-basics/expose/expose-interactive/ /docs/tutorials/kubernetes-basics/expose/expose-interactive-gone/ 404
39+
/docs/tutorials/kubernetes-basics/scale/scale-interactive/ /docs/tutorials/kubernetes-basics/scale/scale-interactive-gone/ 404
40+
/docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive/ /docs/tutorials/kubernetes-basics/create-cluster/cluster-interactive-gone/ 404
41+
/docs/tutorials/kubernetes-basics/explore/explore-interactive/ /docs/tutorials/kubernetes-basics/explore/explore-interactive-gone/ 404
42+
/docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive/ /docs/tutorials/kubernetes-basics/deploy-app/deploy-interactive-gone/ 404
43+
/docs/tutorials/kubernetes-basics/update/update-interactive/ /docs/tutorials/kubernetes-basics/update/update-interactive-gone/ 404
44+
3745
/docs/concepts/abstractions/controllers/garbage-collection/ /docs/concepts/workloads/controllers/garbage-collection/ 301
3846
/docs/concepts/abstractions/controllers/statefulsets/ /docs/concepts/workloads/controllers/statefulset/ 301
3947
/docs/concepts/abstractions/init-containers/ /docs/concepts/workloads/pods/init-containers/ 301

0 commit comments

Comments
 (0)