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
Kubernetes Prow Robot
46a7445624
Merge pull request #39513 from mtardy/cve-feed-rss
...
CVE feed: add RSS feed format
2023-03-13 18:21:09 -07:00
mtardy
ad7b108bc8
CVE feed: add RSS feed format
...
Add tabs to display the various feeds thanks to sftim!
2023-03-10 18:17:53 +01: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
Kubernetes Prow Robot
1d514a5b3c
Merge pull request #38579 from mtardy/cve-json-feed
...
Update CVE feed layouts for new JSON feed format
2023-02-27 08:36:38 -08: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
Suyan
a86c9fae84
update blog-meta-link for correct "Overflow"
...
The link's text "Overflow" should be the site's full name, "Stack Overflow".
2023-02-05 22:35:15 +08:00
its07195
2eb7ecd045
Updated to open blog meta links in new tab--fixed as sftim
2023-01-07 23:16:19 +05:30
its07195
3c1820f3da
Update layouts/partials/blog-meta-links.html
...
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2023-01-07 22:32:00 +05:30
its07195
397783ea42
Updated to open blog meta links in new tab
2023-01-07 17:49:32 +05:30
sp7infinity
b6f3d7914d
Fixed overlap of nav-links with other content in certain screen sizes
2023-01-04 19:54:20 +05:30
Mauren Berti
2f39d55857
Changes from code review.
2022-11-19 09:55:43 -05:00
Mauren Berti
74b03f943a
Localization for glossary tag headers.
2022-11-18 21:35:57 -05:00
Tim Bannister
1d0cf7e971
Tell crawlers not to index print pages
...
This logic is copied from the way that the Docsy code handles this.
2022-10-30 13:16:02 +00:00
Tim Bannister
a1f43e9de5
Move canonical link earlier in metadata
...
To help search engines, make the canonical URL appear near the start of
the <head> HTML element. This improves the chance of a search engine
paying attention; some indexers only read part of the page and ignore
information that appears later within the <head> element.
2022-10-03 16:38:24 +01:00
Kubernetes Prow Robot
24d941b0d8
Merge pull request #36898 from a-mccarthy/fix-28616
...
Make sub-items visible in localizations
2022-09-30 06:26:29 -07:00
Kubernetes Prow Robot
24540ba388
Merge pull request #36923 from a-mccarthy/fix-36903
...
Fix URL in navbar-version-selector.html to point to correct localization
2022-09-30 06:08:29 -07:00
Tim Bannister
4b8ec4dc73
Add page info to autogenerated pages
...
Tell the reader when they're viewing an autogenerated page, in case
they want to report an issue - it should help make reports about
autogenerated content stand out.
Co-authored-by: Qiming Teng <tengqm@outlook.com>
Co-authored-by: Shannon Kularathna <ax3shannonkularathna@gmail.com>
2022-09-27 23:47:10 +01:00
Kubernetes Prow Robot
69850cc98f
Merge pull request #36590 from sftim/20220904_fix_sidebar
...
Fix sidebar rendering for narrow viewports
2022-09-20 11:53:16 -07:00
Abigail McCarthy
fb11b32a59
Fix URL in navbar-version-selector.html to point to correct localization
...
Add missing space
2022-09-20 12:28:04 -04:00
Abigail McCarthy
2f5116bf18
Make sub-items visible in localizations
...
Add comments
2022-09-20 12:00:03 -04: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
Tim Bannister
4c914f9ac2
Fix sidebar rendering for narrow viewports
...
Fix a bug that's noticeable when the viewport is narrow: you can toggle
the menu, but that menu is actually blank.
2022-09-04 17:18:30 +01:00
Kubernetes Prow Robot
bb3ba4b18b
Merge pull request #34794 from chrismetz09/bugMermaid
...
Fix Mermaid render problem
2022-09-01 13:09:19 -07:00
chrismetz09
61a1ec21b5
Fix Mermaid render problem
2022-08-31 14:49:00 -07:00
Rolfe Dlugy-Hegwer
b6299f907b
Fix release-data i18n
2022-08-31 06:49:06 -04:00
Kubernetes Prow Robot
f98437f846
Merge pull request #36010 from chalin/chalin-im-use-ga4-id-2022-08-16
...
Google analytics: use GA4 site tag
2022-08-24 11:57:49 -07:00
Patrice Chalin
c6e50979d2
Google analytics: use GA4 site tag
2022-08-16 07:19:08 -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
Qiming Teng
12f11d4919
Improve page-meta-links page
...
This PR fixes a warning in the page-meta-links.html page where `.Path`
is a function to be removed soon. Warning message:
```
WARN 2022/06/17 21:20:35 .Path when the page is backed by a file is deprecated and will be removed in a future release. We plan to use Path for a canonical source path and you probably want to check the source is a file.
```
2022-06-17 21:28:23 +08:00
Tim Bannister
4fa64207d0
Fix build issue for Netlify _headers file
...
This changes fixes an error where the production site does not build.
Use .RelPermalink to generate the site-relative URL for a page.
2022-06-17 12:46:01 +01:00
Kubernetes Prow Robot
b835209a5c
Merge pull request #34262 from Rishit-dagli/Rishit-dagli-katacoda-banner
...
Remove katacoda warning
2022-06-17 01:32:32 -07:00
Tim Bannister
40c2c147d1
Fix invalid HTML element name
...
Wrong: <headclass="live-site">
Right: <head class="live-site">
Make it so.
2022-06-14 13:49:49 +01:00
Kubernetes Prow Robot
7aa5a90d74
Merge pull request #34251 from dradetsky/disable-gtag-in-local
...
Omit Google Analytics code for local Hugo website build
2022-06-14 05:35:34 -07:00
s-kawamura-w664
0aa7c16ab5
Fix api-reference shortcode for localized pages.
2022-06-14 06:18:41 +00:00
Daniel Radetsky
49d73dcc95
either prod or nonprod
2022-06-13 20:18:47 -07:00
Daniel Radetsky
631d1eb778
gtags only in production
2022-06-13 11:47:41 -07:00
Rishit Dagli
fc8c3536d1
Remove katacoda warning
2022-06-13 16:36:48 +00:00
Daniel Radetsky
4fecd324ca
disable gtag in local env
2022-06-12 11:03:50 -07:00
Kubernetes Prow Robot
7eb8181d0c
Merge pull request #34005 from sftim/20220528_warn_katacoda_removal
...
Add warning about Katacoda shutdown
2022-05-31 11:42:24 -07:00
Sean Wei
34073abcec
Remove google_news template from layout
2022-05-31 22:46:33 +08: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
e173bf4940
Add warning about Katacoda shutdown
2022-05-29 14:07:46 +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