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
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
Kubernetes Prow Robot
e7af510fde
Merge pull request #31658 from sftim/20220207_revise_community_page_and_styles
...
Revise community page and styles
2022-03-24 17:19:50 -07: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
879f4d4c86
Merge pull request #31934 from liggitt/evergreen
...
Allow marking blog posts as evergreen and exempt from outdated warning
2022-02-27 16:25:18 -08:00
Jordan Liggitt
b19e4ff868
Allow marking some blog posts as evergreen and exempt from outdated warning
2022-02-27 17:25:36 -05:00
Jordan Liggitt
a61da6510d
Soften language about older articles
2022-02-27 17:23:36 -05:00
Tim Bannister
e993de5dc6
Tidy styles for community section
...
This change enables an opt-in switch to new styles for /community
It is opt-in to enable localizations to migrate to the new page on their
own timeline.
2022-02-20 16:11:31 +00: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
Kubernetes Prow Robot
78f6ae073e
Merge pull request #31623 from sftim/20220204_tweak_blog_outdated_warning
...
Recolor warning about old blog articles
2022-02-11 08:52:24 -08:00
Tim Bannister
7245f44c52
Fix incorrect markup for navbar
...
Remove a vestigial </span> from the partial.
2022-02-06 22:16:17 +00:00
Tim Bannister
fbc529ce0a
Recolor warning about old blog articles
...
Use white on blue. This color combination is on-brand and stands out,
whilst looking less alarming than the black on yellow for old
documentation versions.
2022-02-04 15:37:59 +00:00
Patrice Chalin
1a88ffdf99
Final cleanup and choice of i18n-key and class names
2022-02-02 09:04:05 -05:00
Patrice Chalin
3e8f9d2f15
Whitespace cleanup
2022-02-01 16:02:38 -05:00
Patrice Chalin
6de4f5bcf1
Use single i18n entry for the message
2022-02-01 15:59:01 -05:00
Patrice Chalin
659dd4b904
Add class blog-outdated-warning
...
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2022-02-01 15:41:54 -05:00
Patrice Chalin
a4726731ed
Mark blogs older than a year as outdated
2022-02-01 14:04:08 -05:00
Kubernetes Prow Robot
953bb28644
Merge pull request #30790 from sftim/20211207_mark_only_live_site_indexable
...
Make only live website indexable
2022-01-17 14:10:49 -08:00
Tim Bannister
4592cf5703
Mark live site in HTML
...
This allows CSS, JavaScript etc to detect if the served website is the
live one.
2022-01-03 17:24:19 +00:00
Tim Bannister
2dfe0d1c30
Make only live website indexable
...
This change updates how we run Hugo AND changes the logic for checking
whether a page should be indexable (copied with a backport from upstream
Docsy).
2022-01-03 17:24:18 +00: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
Kubernetes Prow Robot
fbf753d35e
Merge pull request #29906 from sftim/20211003_fix_cid_class_logic
...
Fix logic for setting cid-* classes
2021-12-05 15:18:32 -08: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
Kubernetes Prow Robot
098501ebfd
Merge pull request #30082 from sftim/20211013_revise_header_style
...
Revise page header styles
2021-11-12 20:00:46 -08:00
Tim Bannister
23b677d6fb
Exempt case studies list from announcements
...
Announcements don't show for individual case studies. Make the list
page also skip any current announcement.
2021-10-13 22:49:42 +01:00
Tim Bannister
1e436f4587
Revise page header styles
...
- more compact headers when announcements are showing
- when no announcement showing, top level docs sections
(eg Concepts, Tasks, Reference) have a heading in the top nav
- when announcement is showing, rely on the breadcrumb trail plus
page introduction text for each top level section
- switch from plain black docs header to match other sections
2021-10-13 22:47:29 +01: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
95321d0a77
Fix logic for setting cid-* classes
...
Only set a cid-* class on the body element if the value won't actually
be "cid-".
2021-10-03 17:22:10 +01:00
Tim Bannister
8a736308a9
Revise third-party content warning
2021-10-02 16:40:09 +01:00