Commit Graph

118 Commits (758a8967194d6f9a39a7666bf3b4c539c656cc2e)

Author SHA1 Message Date
Marko Mudrinić e4a2ab2bd0
Update upgrade guides to clarify that legacy repos are frozen (#43472)
* Add legacy-repos-deprecation shortcode and localization

Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>

* Update install/upgrade guides to clarify that legacy repos are frozen

Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>

* Update the legacy repos message

Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>

---------

Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2023-10-17 03:37:39 +02:00
Marko Mudrinić 324e867d66
Add doc-versions-list shortcode
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2023-10-16 19:48:07 +02:00
Meenu Yadav fe706baae5
improve: Update alt attributes for images on the front page (#43088)
* improve: Update alt attributes for images on the front page

* case studies image alt attribute

* Update case-studies.html
2023-10-09 15:37:45 +02:00
alok0277 4e0c6cbf9b
Fix banner image scaling on Case Studies pages (#43056)
* image flow is synchronized with the responsive design.

* Update single.html

* Update quote.html

* fixed banner image
2023-10-09 12:23:07 +02:00
Kubernetes Prow Robot 91c23ee527
Merge pull request #43091 from MeenuyD/case-studies
Remove Case-studies Link and Hyperlink from the bottom of the page
2023-10-02 02:10:45 -07:00
Dipesh Rawat d97c4a254e
Add sortable option to table shortcode 2023-09-25 00:12:28 +01:00
MeenuyD dac632abe1 Remove Case-studies Link and Hyperlink from the bottom of the page 2023-09-18 11:17:37 +05:30
Mengjiao Liu 234458f2e3 Add code_sample shortcode to replace code shortcode 2023-09-05 16:45:35 +08:00
Kubernetes Prow Robot 61685e4db3
Merge pull request #42299 from dipesh-rawat/add-home-searchbar
Add site search to home page
2023-08-02 01:56:10 -07:00
Dipesh Rawat a226826c03
Add site search to home page 2023-07-31 09:21:50 +01:00
Mengjiao Liu f5388a1efe Add code shortcode to replace codenew 2023-07-27 17:27:26 +08:00
Kubernetes Prow Robot a72cd0cbd2
Merge pull request #40226 from cjc7373/fix-copy-to-clipboard
fix: eliminate extra lines when copying to clipboard
2023-06-02 22:10:40 -07:00
Tim Bannister 2483de1783
Add currentPatchVersion type to skew shortcode
You can now use {{< skew currentPatchVersion >}} as a Hugo shortcode,
and it will render to the patch SemVer for the minor release that is
being documented.
2023-05-02 23:25:23 +01:00
Nate W c3f31fea70 updating katacoda removal message, adding it to more pages
Signed-off-by: Nate W <natew@cncf.io>
2023-03-25 10:05:21 -07:00
Nate W 26b24d762f Adding katacoda removal notices on pages with interactive tutorials
Signed-off-by: Nate W <natew@cncf.io>
2023-03-24 17:38:38 -07:00
Harold Cheng 638cd92532
fix: eliminate extra lines when copying to clipboard 2023-03-22 23:28:34 +08:00
mtardy aa9f17ed0a Transform CVE feed shortcode compliance check to warning
Previously it would cause the build to fail, which could lead to
confusing situation since the CVE feed comes from outside of the website
and could break the workflow. See related discussion:
https://github.com/kubernetes/website/pull/38579#discussion_r1116996184
2023-02-28 11:46:27 +01:00
mtardy 3d850f6b9a Clean CVE feed shortcode i18n caption data
Previsouly we were using two data items:
    ```toml
    [cve_table_date_before]
    other = "(last updated: "
    [cve_table_date_after]
    other = ")"
    ```
Which was simplified, using printf, to:
    ```toml
    [cve_table_date_format_string]
    other = "(last updated: %s)"
    ```
This is related to the following discussion
https://github.com/kubernetes/website/pull/38579#discussion_r1116992896
2023-02-28 11:46:04 +01:00
mtardy 3305d7b1db Check that the fetched feed is a JSON feed 1.1 and fail if not 2023-02-27 17:23:05 +01:00
mtardy e277fe5f8c Update CVE feed layouts for new JSON feed format
Also add information about last update time on CVE table
2023-02-21 10:34:37 +01:00
Nabarun Pal 6d7a573eb1
release: move markdown tables to shortcode
also, add i18n definitions for terms in the patch release page

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2022-09-15 12:57:16 +05:30
Rolfe Dlugy-Hegwer b6299f907b Fix release-data i18n 2022-08-31 06:49:06 -04:00
Pushkar Joglekar cafe6d258c Fetch and Render CVE JSON feed
- Pull JSON blob from queried issues
- Use layout output formats + templates to generate HTML table and JSON blob
- Add localized strings and caption for CVE feed
- Add a new page to describe details about CVE feed and how to use it
- Update existing pages and link the official CVE feed from it

Co-authored-by: Neha Lohia <nehapithadiya444@gmail.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2022-08-02 09:32:01 -07:00
s-kawamura-w664 0aa7c16ab5 Fix api-reference shortcode for localized pages. 2022-06-14 06:18:41 +00:00
Tim Bannister a7c5ec8eda
Extend Katacoda removal warning
Also cover HTML-based interactive tutorials that do not launch Katacoda
from a button. This commit only updates the English localization.
2022-05-29 14:17:54 +01:00
Tim Bannister d3708001d8
Use previous release examples in codenew shortcode
Fix a minor bug in the codenew shortcode.
When serving a previous release, link to the example for that specific
release (and not to the example for the current release).
2022-04-25 14:27:28 +01:00
Jihoon Seo c6b6e5acb6 Update api-reference shortcode 2022-04-21 10:02:26 +09:00
Christopher Negus 6d560379a8 Create dockershim shortcode 2022-04-18 17:13:23 +00:00
Qiming Teng 8311f4324c Make FEATURE STATE localizable
Add i18n string for FEATURE STATE, for ease of localization.
2022-03-06 21:44:40 +08:00
Kubernetes Prow Robot ca8f4f1b7d
Merge pull request #31056 from sftim/20211221_mermaid_improvements
Improvements for Mermaid support
2022-02-19 14:22:09 -08:00
Sergey Kanzhelev ec25052227
fix error display string 2022-02-18 14:30:23 -08:00
Tim Bannister e66d19ff6e Improve message shown for Mermaid when JS not enabled 2021-12-21 18:54:46 +00:00
Tim Bannister 3fcc2c812f Make release-data time format localizable 2021-12-14 17:39:21 +00:00
Tim Bannister 270bc93258 Fix HTML for release-data shortcode 2021-12-14 17:38:59 +00:00
Tim Bannister 4dc09070ee Improve recent release list
- fix unwanted trailing separator
- better styling for the items
- more semantic markup (also enables improved CSS)
2021-11-27 18:42:11 +00:00
Tim Bannister 4a57e58ab4 Use Docsy alert classes
Update the Kubernetes overrides from the Docsy theme to diverge less,
specifically in the areas of callouts (alerts) and pageinfo blocks.
2021-10-13 01:10:58 +01:00
Tim Bannister 8a736308a9 Revise third-party content warning 2021-10-02 16:40:09 +01:00
silenceshell 160d68bd43 kubeadm-upgrade should upgrade to current branch version other than the latest version 2021-09-19 11:00:41 +08:00
Philippe Martin 787e703fa0 Add `api-reference` shortcode 2021-09-11 10:59:46 +02:00
Tim Bannister e3b6ab9579 Improve Katacoda button
Separate out the HTML <div> for Katacoda from the in-page button to
trigger it.
2021-08-03 14:31:38 +01:00
Tim Bannister 037456870f Remove capture shortcode
The capture shortcode is no longer used: the switch was made on
2020-06-15, in commit 0625ced466.

Remove it. After this change, it won't be possible to use this legacy
shortcode (builds would fail).
2021-06-21 09:11:57 +01:00
Kubernetes Prow Robot ba20879546
Merge pull request #28463 from sftim/20210617_update_docs_for_primary_branch_rename
Update docs for primary branch rename to "main"
2021-06-18 18:04:50 -07:00
Tim Bannister da31234d5d Update docs for primary branch rename to "main" 2021-06-19 01:50:25 +01:00
Tim Bannister e38d549721 Add shortcode for hyperlinking to examples 2021-06-19 01:47:51 +01:00
Jim Angel 7edf890373 Adding a release page under "Release Information" 2021-05-11 17:18:30 -05:00
Jordi Noguera 6d86df2b49
Fix deprecated landscape URLs (#26251)
* Fix deprecated landscape URLs

* Revert changes to language files
2021-02-28 11:26:39 -08:00
Kristin Martin 86d9492ccb Merge remote-tracking branch 'upstream/master' into merged-master-dev-1.20 2020-12-03 11:58:44 -08:00
Kubernetes Prow Robot 2c2cdeb5d8
Merge pull request #24908 from neolit123/1.20-upgrade-docs
kubeadm: update the upgrade documentation for 1.20
2020-11-20 06:58:51 -08:00
M. Habib Rosyad 4ba449d527
Switch New York Times case study to use youtube shortcode 2020-11-20 14:32:12 +07:00
Lubomir I. Ivanov d046f6d5a4 layouts/shortcodes/skew.html: add latestVersionAddMinor
For site.Params.latest equals v1.20,

The following shortcode:
  skew latestVersionAddMinor N "-"

would return:
  1-(20+N)

negative N are supported.
2020-11-19 00:39:50 +02:00