-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Make the home page into reusable and translatable blocks #10071
Conversation
Deploy preview for kubernetes-io-master-staging ready! Built with commit 1479a4e https://deploy-preview-10071--kubernetes-io-master-staging.netlify.com |
e7b26fe
to
9d74ec6
Compare
/cc @chenopis per earlier conversations about redoing the home page leaving this comment as is, but oh bot you are so silly ;) |
@Bradamant3: GitHub didn't allow me to request PR reviews from the following users: per, earlier, conversations, the, page. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
9d74ec6
to
316cdce
Compare
316cdce
to
5108545
Compare
I have:
@zacharysarah note that the work I'm doing has a defined order. |
@zacharysarah and @chenopis I understand that you are busy, but this is just a reminder in case you have forgotten: This is a prerequisite for further work in this area. |
@bep Thanks for the ping and for your patience. I'll review this in the morning (US time) first thing. |
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.
@bep There are several questions in the review comments. The parts I understand look good! 😅
content/en/_index.html
Outdated
<h2>The Challenges of Migrating 150+ Microservices to Kubernetes</h2> | ||
{{< blocks/section id="oceanNodes" >}} | ||
{{% blocks/feature image="flower" %}} | ||
### [Kubernetes]({{< relref "/docs/concepts/overview/what-is-kubernetes" >}}) is a is an open-source system for automating deployment, scaling, and management of containerized applications. |
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.
Looks like this PR introduces a spelling error that isn't present in the original:
[Kubernetes]({{< relref "/docs/concepts/overview/what-is-kubernetes" >}}) is a is an
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.
Fixed.
content/en/case-studies/_index.html
Outdated
@@ -1,5 +1,6 @@ | |||
--- | |||
title: Case Studies | |||
linkTitle: View all case studies |
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.
The title
and linkTitle
should match:
linkTitle: Case Studies
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.
Fixed.
content/en/docs/concepts/configuration/manage-compute-resources-container.md
Show resolved
Hide resolved
This commit * Extracts most UI strings into i18n bundles so they can be translated * Makes a proper Hugo menu out of the hardcoded menu that is shown on smaller screens * Changes the language selector logic to navigate to the current page in the other language if possible (e.g. the translation). If not possible, it takes you to the home page for that language. For testing, this commit also adds Norwegian as a new language. This is turned off.
This commit adds a set of block type shortcodes that is then used to build the home page. * These shortcodes gets common image resources from a new headless bundle. These resources can be inherited or overridden by translations. * The hardcoded case studies section on the home page is replaced with a query and a loop. * The hardcoded feature list on the home page is replaed qith a query and a loop.
64eb9d7
to
1479a4e
Compare
@zacharysarah I have just rebased and resolved the new conflicts with master. Also note, if that was not clear already, that your questions/notes above have been addressed. |
@bep Thanks for the updates and responses. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: zacharysarah 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 |
This commit adds a set of block type shortcodes that is then used to build the home page.
NOTE: This PR depends on or replaces #9971, depending how you look on it.
/cc @zacharysarah