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
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
Qiming Teng
51ab191ec0
Use card mode for cncf-landscape shortcode
...
The repeated icons are causing confusing.
2020-11-18 10:12:01 +08:00
Karen Bradshaw
a8f07b6a1b
modify width of iframe
2020-11-03 16:24:20 -05:00
Kubernetes Prow Robot
a31ed022c1
Merge pull request #24014 from Arhell/upd-training
...
add cncf-landscape shortcode for training page
2020-11-03 12:38:04 -08:00
Arhell
59cdc2aaec
add cncf-landscape shortcode for training page
2020-10-30 02:07:55 +02:00
M. Habib Rosyad
4d9ee76ace
Improve maintainability of Case Studies styling
...
- Add quote and lead shortcode
- Add case study metadata in front matter (to generate page)
- Allow case study page to inherit similar styles from a centralised CSS file.
2020-10-19 10:10:45 +07:00
Karen Bradshaw
be9e8e9ad8
update tooltip styling to bootstrap
2020-10-05 12:05:02 -04:00
Karen Bradshaw
e84e0c0b75
update tab component, remove jquery-ui
2020-09-30 12:03:20 -04:00
Karen Bradshaw
245f989b2a
fix copy clipboard
2020-09-18 13:12:46 -04:00
Kubernetes Prow Robot
c7dbfdd317
Merge pull request #23210 from sftim/20200816_add_cncf_landscape_shortcode
...
Add cncf-landscape shortcode
2020-09-15 10:52:08 -07:00
Kubernetes Prow Robot
5b08dbc38d
Merge pull request #23107 from celestehorgan/add-3rdparty-warning
...
Add 3rd party content warning
2020-09-02 12:53:06 -07:00
Kubernetes Prow Robot
81a3f5420a
Merge pull request #23520 from sftim/20200828_revise_available_docs_versions_list
...
Revise “Supported Versions of the Kubernetes Documentation”
2020-09-01 12:37:50 -07:00
Celeste Horgan
47dd26bf09
Add 3rd party content warning
...
Signed-off-by: Celeste Horgan <celeste@cncf.io>
Co-authored-by: Tim Bannister <tim+github@scalefactory.com>
2020-09-01 10:39:06 -07:00
Tim Bannister
2e55488319
Deprecate {{< versions-other >}} shortcode
...
Instead of this, use the docs layout named "supported-versions".
2020-08-28 14:58:17 +01:00
Tim Bannister
4febf7471d
Improve styling for callouts
...
Update styles for callouts (warning, caution, note); also avoid applying
callout-specific styles to general block quotes.
2020-08-27 00:04:26 +01:00
Kubernetes Prow Robot
f6ffc7c881
Merge pull request #23028 from sftim/20200808_fix_glossary_definition_shortcode
...
Fix glossary definition shortcode
2020-08-26 14:57:04 -07:00
Tim Bannister
fb127402c6
Add cncf-landscape shortcode
...
and adjust /partners/ to use it.
2020-08-18 13:34:43 +01:00
Tim Bannister
c105f1a03a
Fix glossary definition shortcode
...
Fix a bug rendering short glossary definitions. Also, add an example
of a short glossary definition to the style guide.
2020-08-11 22:41:42 +01:00
Karen Bradshaw
88856e6c01
modify layout of codenew shortcode
2020-08-11 09:58:12 -04:00
Kubernetes Prow Robot
98fbbed9e2
Merge pull request #22673 from shuuji3/en/fix-glossary-definition-shortcodes-bug
...
Fix a bug of shortcode 'glossary_definition' which selects a wrong term
2020-07-26 20:48:16 -07:00
TAKAHASHI Shuuji
97b22f9fbe
Fix a bug of shortcode 'glossary_definition' which selects a wrong term.
2020-07-24 01:43:34 +09:00
Celeste Horgan
7cd2327f87
Remove shortcodes in favor of layout partials
...
Signed-off-by: Celeste Horgan <celeste@cncf.io>
2020-07-23 09:31:51 -07:00
Tim Bannister
847f57ecf5
Fix whitespace trimming for note callout shortcode
...
Use the same whitespace trimming that the other callout shortcodes
(warning, caution) use, and avoid excessive newline removal.
2020-07-13 19:17:07 +01:00
Kubernetes Prow Robot
4c19ec60a1
Merge pull request #22175 from sftim/20200629_remove_capture_shortcodes
...
Remove capture shortcodes & warn on future use.
2020-07-04 05:30:48 -07:00
Tim Bannister
325ba8754a
Warn on use of capture shortcode
...
If anyone uses the capture shortcode, emit a warning. The website
no longer uses capture shortcodes.
2020-07-04 11:11:29 +01:00
Tim Bannister
d5c74c069c
(Temporarily) disable upcoming events for live site
...
Live website builds are failing; disable this part of the shortcode to
allow builds to resume.
2020-06-30 19:17:18 +01:00
Karen Bradshaw
1502e0281d
config for removing capture stmts
2020-06-09 19:33:15 -04:00
Celeste Horgan
9caa83d75b
Improve announcements implementation
...
Signed-off-by: Celeste Horgan <celeste@cncf.io>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-06-04 14:20:47 -07:00
Irvi Firqotul Aini
3530e6d6d0
Using regex to allow rendering notes with an indent, for example:
...
{{< note >}}
If the last element of the path is a substring of the
last element in request path, it is not a match (for example:
`/foo/bar` matches`/foo/bar/baz`, but does not match `/foo/barbaz`).
{{< /note >}}
After changin to hugo 0.70 trim seems to be not working.
2020-05-14 00:16:06 +07:00
Karen Bradshaw
7a98007a29
update tabs shortcode
2020-05-11 18:12:43 -04:00
Jim Angel
f3e733ecba
fix for feature state shortcode
2020-05-11 14:57:03 -05:00
TAKAHASHI Shuuji
7f95a9e419
Fix a broken table in contribute/new-content/overview.md by modifying shortcodes.
2020-05-03 14:39:31 +09:00
Jim Angel
bea8e2b1be
adding mermaidjs shortcode with example
2020-04-19 14:48:22 -05:00
Jim Angel
a3decc2c8f
automating-version-skew
2020-04-16 07:42:21 -05:00
Jim Angel
00b106a744
fixing information about dev contrib
2020-04-13 12:19:03 -05:00
Kubernetes Prow Robot
066b9f3b8c
remove extra spaces from template ( #19495 )
2020-03-05 09:30:38 -08:00
Flo
91759dcd79
Fix cursor not being correct on copy icon ( #18901 )
2020-02-27 07:53:27 -08:00
Sascha Grunert
3ecfc9f47f
Fix wrong CHANGELOG locations ( #19089 )
...
We prefixed the CHANGELOG path in k/k with `CHANGELOG/`, which should
reflect every part of the website as well.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-02-25 05:42:49 -08:00