-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add warning about Katacoda shutdown #34005
Add warning about Katacoda shutdown #34005
Conversation
@tengqm - you're this week's PR wrangler and @bradtopol - you're up from tomorrow - could I ask you to move this one forward if you get time? |
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
layouts/docs/baseof.html
Outdated
@@ -24,6 +24,11 @@ | |||
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }} | |||
{{ block "deprecated" . }} | |||
{{ partial "deprecation-warning.html" . }} | |||
{{ end }} | |||
{{ if .HasShortcode "kat-button" }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how to make the condition more generic. For example, page 'https://deploy-preview-34005--kubernetes-io-main-staging.netlify.app/docs/tutorials/kubernetes-basics/explore/explore-interactive/' doesn't have such a warning.
A more straightforward approach would be add this warning to those pages directly, and then remove the whole page completely when the day comes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a new shortcode to those pages. We can now detect all Katacoda use for the English localization, and updating other localizations is only a search-and-replace away.
Also cover HTML-based interactive tutorials that do not launch Katacoda from a button. This commit only updates the English localization.
dff7e4d
to
a7c5ec8
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tengqm The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
LGTM label has been added. Git tree hash: e451ab0800b31f38c9057b620464e96a5a963728
|
/lgtm It's not related to this PR, but it's obvious with the new warning box: edit: I got raced 🏎🙃 |
Fixes #34004
Add a warning about the shutdown of Katacoda (see #33936 and #33918).
Example