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