Commit Graph

559 Commits (main)

Author SHA1 Message Date
Kubernetes Prow Robot 3fa008a4d8
Merge pull request #51830 from lmktfy/20250827_fix_duplicated_title
Fix bug where some pages had two title elements
2025-08-21 21:47:06 -07:00
Kubernetes Prow Robot 1ad50af3c0
Merge pull request #51927 from Eundms/code-sample-fallback-missing-file
Add fallback to default language for code_sample shortcode
2025-08-19 11:55:27 -07:00
eunjeong Park 2e9cbbbcec Add fallback to default language for code_sample shortcode
This imporves internationalization support by falling back to the default
language's examples when a translation doesn't exist, prevention build errors
for missing localized code samples.

- Refactor code_sample.html to handle missing files more gracefully
- Move filename generation to scratch variable for reusability
- Add fallback logic to try default language when file not found in current language
- Reorganize source lookup flow with proper conditional blocks
- Maintain existing ghlink generation with updated filename variable
2025-08-16 12:45:44 +09:00
Tim Bannister 0ede719918
Move legacy script to assets folder
JavaScript should be in "assets/js"; move the miscellaneous legacy
script code there.
2025-08-07 22:48:29 +01:00
Tim Bannister 6dcbdd1677
Fix bug where some pages had two <title>s
Avoid having a <title> element twice in the <head> of some pages
(documentation and blog sections).
2025-08-07 20:51:17 +01:00
Tim Bannister c07ffdf392
Fix top nav for Not Found errors
The 404 page layout had a stale list of the sections for the top navigation.
Fix that.
2025-08-03 13:32:01 +01:00
Kubernetes Prow Robot 9e1a118ff5
Merge pull request #51600 from xirehat/kubernetes-website-rtl-support
Add RTL support
2025-08-02 03:37:36 -07:00
xirehat 485b0a52c8 Add RTL support 2025-08-01 08:24:28 +03:30
Tim Bannister 8b7624fb37
Drop unused docs partial 2025-07-14 17:46:39 +01:00
Kubernetes Prow Robot be026b5703
Merge pull request #50556 from Andygol/tutorial-shortcodes
Replace html-inline code with shortcodes in the  Learn Kubernetes Basics tutorial
2025-07-10 08:17:29 -07:00
Sayak Mukhopadhyay 6332644c56
feat: move styles to separate file 2025-07-01 15:57:05 +05:30
Sayak Mukhopadhyay b1a7d7c660
feat: remove post-hero block and some more-hero block 2025-06-30 21:52:28 +05:30
Anshuman Tripathi b825276a56
fix: Support offline builds
Signed-off-by: Anshuman Tripathi <anshuman.tripathi305@gmail.com>
2025-06-22 11:43:37 -07:00
Kubernetes Prow Robot d191629db6
Merge pull request #50925 from jeefy/careers-page
Add gitjobs embed to create a Kubernetes Careers page
2025-06-05 05:40:39 -07:00
Tim Bannister 9c14c3768f
Ready case studies shortcode for Docsy
This changes the HTML on the site landing page(s), not the rendering
within the Case Studies section.

Co-authored-by: Dmitry Shurupov <dmitry.shurupov@palark.com>
2025-05-23 17:07:56 +01:00
Jeffrey Sica c76ae67158 add gitjobs embed with kubernetes jobs
Signed-off-by: Jeffrey Sica <me@jeefy.dev>
2025-05-16 12:49:19 -05:00
Kubernetes Prow Robot b745f93288
Merge pull request #50298 from SayakMukhopadhyay/remove-notitle
[fr] Remove the `notitle` param that is not used anywhere else
2025-05-08 04:11:16 -07:00
Kubernetes Prow Robot d8aeb707c5
Merge pull request #49606 from shurup/migrate-to-bluesky
Add Bluesky and update other social links
2025-05-01 12:19:55 -07:00
Kubernetes Prow Robot e364467ad6
Merge pull request #50504 from lmktfy/20250327_drop_katacoda_button_support
Drop div used for Katacoda button
2025-04-27 04:35:27 -07:00
Andrii Holovin c4d31da65b replace html-inline with shortcodes in the tutorial 2025-04-19 21:50:07 +03:00
Sayak Mukhopadhyay eb367ee47c
feat: remove the notitle param that is not used anywhere else 2025-04-16 18:00:56 +05:30
Sayak Mukhopadhyay 804388f903
feat: replaced the deprecation-warning partial with docsy provided version-banner and customising it 2025-04-16 17:48:25 +05:30
Kubernetes Prow Robot 025268bada
Merge pull request #50097 from SayakMukhopadhyay/navbar-rework
Rework the navbar layouts and some navbar scripts to make it closer to docsy
2025-04-16 04:01:07 -07:00
Kubernetes Prow Robot 9a90bbb2fc
Merge pull request #50499 from ntheanh201/case-studies-link
Updates case studies link
2025-04-15 19:45:06 -07:00
Kubernetes Prow Robot 20874d9144
Merge pull request #50262 from SayakMukhopadhyay/remove-search-ph-workaround
Remove the search placeholder workaround
2025-04-15 10:51:06 -07:00
Kubernetes Prow Robot f6a6e1c5e8
Merge pull request #50199 from SayakMukhopadhyay/remove-site-searchbar-shortcode
Remove the site-searchbar shortcode
2025-04-15 10:49:07 -07:00
Kubernetes Prow Robot 18f8c8d784
Merge pull request #50211 from SayakMukhopadhyay/sidebar-tree-rework
Rework blog sidebar to align to how Docsy sidebars are implemented
2025-04-15 10:41:07 -07:00
Tim Bannister dae7c82e14
Drop div used for Katacoda button
It no longer works
2025-04-15 18:10:19 +01:00
The Anh Nguyen 881bc8ed97
Updates case studies link 2025-04-15 05:57:57 +02:00
Sayak Mukhopadhyay 33d1ee9401
feat: remove the site-searchbar shortcode 2025-04-14 15:15:38 +05:30
Sayak Mukhopadhyay 161d863cd7
feat: remove case study template 2025-03-27 17:20:07 +05:30
Sayak Mukhopadhyay dd679e0812
feat: use ui_seach directly 2025-03-26 21:29:39 +05:30
Sayak Mukhopadhyay c9a25fce62
feat: navbar reworked to bring it closer to docsy 2025-03-26 18:09:11 +05:30
Sayak Mukhopadhyay 77f52991b4
feat: rework blog sidebar to align to how Docsy sidebars are implemented 2025-03-24 15:41:06 +05:30
Dmitry Shurupov dd8142b8a5
Change X/Twitter links to Bluesky
Signed-off-by: Dmitry Shurupov <dmitry.shurupov@palark.com>
2025-03-24 12:57:54 +07:00
Sayak Mukhopadhyay 4df04ed775
feat: replace `ui_search_placeholder` with docsy provided `ui_search` 2025-03-23 17:54:44 +05:30
Dmitry Shurupov 3064146649
Fix KubeWeekly archive link
Signed-off-by: Dmitry Shurupov <dmitry.shurupov@palark.com>
2025-03-20 14:15:26 +07:00
Kubernetes Prow Robot 9fb7d10e22
Merge pull request #49586 from sftim/20250128_home_page_dark_mode
Home page enable dark mode
2025-03-18 10:55:54 -07:00
Kubernetes Prow Robot f067474676
Merge pull request #49724 from SayakMukhopadhyay/search-script-rework
Rework the search scripts and layouts to make it closer to docsy
2025-03-18 09:57:49 -07:00
Sayak Mukhopadhyay 8af973175c
feat: rework the scripts to make it closer to docsy
feat: implement custom partial in search--input.html

chore: add some comments on how things can be refactored later

feat: bring the search.html closer to docsy by only including the search-input partial and using the other things from baseof.html

fix: first line comments need to be in the {{/* */}} block, see https://github.com/gohugoio/hugo/issues/7243

Apply suggestions from code review

fix: apply review suggestions

fix: search bar should be removed in page find results and should be present in the sidebar

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2025-03-15 12:55:03 +05:30
Sayak Mukhopadhyay 30bbb77564
feat: make the non shortcode way a conditional so that incremental updates can happen 2025-03-09 18:28:25 +05:30
Sayak Mukhopadhyay 15465d1eec
feat: test moving the homepage search bar from the content to the layout 2025-03-09 18:28:25 +05:30
Tim Bannister 366c48ff46
Fix Disqus config lookup 2025-02-27 20:15:38 +00:00
Tim Bannister 7bcfea6cce
Change CNCF logo for dark mode (main page only)
Co-authored-by: Tamilselvan Thangamony <20103020+tamilselvan1102@users.noreply.github.com>
2025-02-16 20:16:55 +00:00
Tim Bannister a57b4a59aa
Prepare site main page for dark mode
Co-authored-by: Tamilselvan Thangamony <20103020+tamilselvan1102@users.noreply.github.com>
2025-02-16 20:16:54 +00:00
Tim Bannister 2c82605c93
Add dark images for case studies
Co-Authored-By: Tamilselvan Thangamony <20103020+tamilselvan1102@users.noreply.github.com>
2025-02-16 20:16:52 +00:00
Tim Bannister 1e5e378012 Mark stale release page links as stale
For deprecated site versions, make it clear that the links are to stale
pages.
2025-02-13 12:45:34 +00:00
Tim Bannister 483a8ce311 Align deprecation warnings more with Docsy
This change helps us prepare the site so we could serve it with
near-vanilla Docsy.
2025-02-13 12:45:34 +00:00
Sayak Mukhopadhyay ddea987008
feat: move js detection script to its own module and import into body-end
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2025-02-09 16:45:27 +05:30
Kubernetes Prow Robot 47165fff3a
Merge pull request #49592 from sftim/20250129_add_katex_formulae_support
Add support for KaTeX formulas
2025-02-07 08:41:56 -08:00