Commit Graph

178 Commits (537ff99bbaaa05d3a0308c3819185840287eac0c)

Author SHA1 Message Date
Harold Cheng 638cd92532
fix: eliminate extra lines when copying to clipboard 2023-03-22 23:28:34 +08: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
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
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
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
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
chrismetz09 61a1ec21b5 Fix Mermaid render problem 2022-08-31 14:49:00 -07:00
Patrice Chalin c6e50979d2 Google analytics: use GA4 site tag 2022-08-16 07:19:08 -04: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
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
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 e173bf4940
Add warning about Katacoda shutdown 2022-05-29 14:07:46 +01: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
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
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
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
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 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 8a736308a9 Revise third-party content warning 2021-10-02 16:40:09 +01:00
S Nitesh Singh a6ed49bca9 remove 'Tools Included' from sidebar of translated page 2021-09-23 10:59:48 +05:30
Kubernetes Prow Robot cf9753423a
Merge pull request #29554 from chrismetz09/metz-mermaid-upgrade
upgrade to mermaid 8.11.2
2021-09-07 09:45:16 -07:00
Ben Hall 280e67a4e1 Move to Minikube 1.20 image of Katacoda for Hello Minikube Tutorial
Signed-off-by: Ben Hall <ben@benhall.me.uk>
2021-09-04 07:55:17 +01:00
chrismetz09 cbff3ec4ea upgrade to mermaid 8.11.2 2021-08-26 10:53:18 -07:00
Kubernetes Prow Robot d621a66ca5
Merge pull request #29006 from niteshseram/fix/sidebar
fixing the huge whitespace in sidebar
2021-08-12 06:27:47 -07: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