Commit Graph

150 Commits (0e5ef2d0f699c1711f05d82244930f7f2fe167e4)

Author SHA1 Message Date
Tim Bannister 45f628b047 Drop some unused shortcodes 2024-08-14 00:44:51 +01:00
Tim Bannister 55f93e6878 Update layouts for Katacoda removal 2024-08-09 13:15:00 +01:00
Tim Bannister 3fd2bdbdd2 Style unfixed vulnerabilities in bold
For the CVE feed, use bold for any vulnerability that hasn't been fixed.
2024-06-27 13:28:29 +01:00
Tim Bannister fef04ab4c4 Define custom section partial for K8s overview 2024-06-06 16:04:16 +01:00
Tim Bannister add8b37790 Warn on use of (deprecated) param shortcode 2024-05-15 21:34:16 +01:00
Tim Bannister 2b498d9bfb Make tooltip localizable
Allow localizations to customize the tooltip for copying code samples to
the clipboard.
2024-05-14 01:09:39 +01:00
Tim Bannister 9e128e3fc7 Reimplement code_sample shortcode
Use Hugo Pipes for the icon asset pipeline, and avoid inline styling.
2024-05-14 01:09:38 +01:00
Kubernetes Prow Robot 6908c84ef6
Merge pull request #46232 from sftim/20240507_docsy_callouts
Use Docsy-style callouts
2024-05-13 13:11:12 -07:00
Tim Bannister d4c3aa474c Use Docsy-style callouts
Adopt callout (notices) that match the Docsy theme we use.

Co-authored-by: Dipesh Rawat <rawat.dipesh@gmail.com>
2024-05-11 22:00:12 +01:00
Dipesh Rawat ddbc2c23e9
Add full-screen image display feature 2024-05-09 14:25:35 +01:00
Kubernetes Prow Robot 58039b32d2
Merge pull request #45981 from sftim/20240423_redo_feature_state
Revise appearance for feature-state shortcode
2024-04-24 18:55:22 -07:00
Tim Bannister f8bd5568c7 Revise appearance for feature-state shortcode
Co-authored-by: Dipesh Rawat <rawat.dipesh@gmail.com>
2024-04-24 09:52:42 +01:00
Sascha Grunert a7993c7d2b
Add upcoming monthly releases to schedule.yaml
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-04-22 09:05:47 +02:00
Sascha Grunert a620a80519
Update schedule using schedule-builder
This is a manual update of the schedule and end-of-life data to match
the format proposed by
[`schedule-builder`](https://github.com/kubernetes/release/tree/master/cmd/schedule-builder).

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-04-19 12:09:40 +02:00
Kubernetes Prow Robot f089d6debc
Merge pull request #45496 from dipesh-rawat/api-ref-link-shortcode
Add mechanism to retrieve API reference page link based on metadata
2024-03-31 19:25:34 -07:00
Dipesh Rawat 9e1c3c8187
Replace deprecated getJSON with transform.Unmarshal 2024-03-22 01:03:49 +00:00
Dipesh Rawat 60ca7a305a
Add mechanism to generate API reference links 2024-03-14 14:14:08 +00:00
John.C dfc0c6682e
Add integrity attribute to script used by CNCF Landscape shortcode (#45412)
* Add integrity attribute to script

* Add integrity attribute to script

* Add integrity attribute to script
2024-03-08 09:02:27 -08:00
Kubernetes Prow Robot c2600bcdd7
Merge pull request #45018 from sergeyshevch/fix/fix-skew-helper
Fix 'skew' shortcode to determine patch version accurately
2024-02-29 10:59:20 -08:00
Andrii Holovin 4764c8706b
Update thirdparty-content.html 2024-02-28 11:18:06 +02:00
Dipesh Rawat a268d81364
Fix feature-state shortcode 2024-02-19 00:47:09 +00:00
Kubernetes Prow Robot da14ff8f59
Merge pull request #43176 from sftim/20230923_revise_security_concept_section
Move and revise overview for Security section
2024-02-16 11:41:30 -08:00
Dipesh Rawat a936505492
Update feature-state shortcode with dynamic state retrieval 2024-02-12 19:16:20 +00:00
Sergey Shevchenko b4b38264f9
fix: Fix skew helper 2024-02-04 19:50:29 +02:00
Tim Bannister cd434ba5f2 Support third party disclaimers about vendors
Add support for a third party disclaimer about vendor docs, even where
the things we link to are not necessary for Kubernetes to function.
2024-01-28 23:29:59 +00:00
aakashdeshamne 5a244d33de change background color of cncf landscape 2024-01-20 13:22:43 +05:30
Cintia Sanchez Garcia 26e760da6e Update references to CNCF landscape (v2)
This PR updates all the references to the CNCF landscape (v2). This includes migrating to the new embeddable views that the new landscape provides, changing how iframe-resizer is used and updating a few links.

Related to #44022

Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
2024-01-18 12:36:45 +01:00
Tim Bannister daecef8292 Render feature gate descriptions automatically
Build a sorted list of feature gates based on the individual files that
describe them.
2023-12-28 14:54:05 +00:00
Tim Bannister f283565582 Set a title for feature gates in the table
If you hover over a feature gate name, you (now) see the text
description. At least in typical web browsers.
2023-12-28 14:51:37 +00:00
Dipesh Rawat eaa2f53324
Add shortcode for Feature gate table 2023-12-23 19:04:54 +00:00
Tim Bannister 4a4fe5ccb9 Add shortcode for feature gate description 2023-12-13 17:21:09 +00:00
Dipesh Rawat 0c514f8e58
Add Hugo shortcode to fetch and display release binaries details
Signed-off-by: Dipesh Rawat <rawat.dipesh@gmail.com>
2023-11-03 15:18:19 +00:00
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