Commit Graph

489 Commits (6935752f212817a5677af86d90203c3575b11698)

Author SHA1 Message Date
Andrii Holovin b6ee0b6e59 resources.ToCSS was deprecated 2024-12-31 12:14:31 +02:00
Patrice Chalin 30b92ffc3d Upgrade to Docsy 0.5.1 via NPM module 2024-12-09 09:35:30 -05:00
Kubernetes Prow Robot d7be80735f
Merge pull request #46706 from mariasalcedo/fix/glossary-definition
fix(shortcode): Amend glossary definition shortcode
2024-11-25 00:44:55 +00:00
Kubernetes Prow Robot 7801d4cc2b
Merge pull request #48367 from sftim/20241015_drop_reference_docs_partial
Drop unused Hugo shortcode
2024-11-21 19:04:54 +00:00
Kubernetes Prow Robot 2909eb9343
Merge pull request #48364 from sftim/20241015_drop_side_menu_partial
Drop unused Hugo layout partial
2024-11-21 19:02:54 +00:00
Kubernetes Prow Robot d08a2f4c7a
Merge pull request #48308 from sftim/20241012_main_page_feature_boxes
Restyle feature boxes on main page and ready for vanilla Docsy
2024-11-21 19:00:55 +00:00
Kubernetes Prow Robot c4f18b3213
Merge pull request #48721 from sftim/20241031_docsy_zero_three
Bump Docsy to 0.3.x
2024-11-20 18:28:56 +00:00
Kubernetes Prow Robot 897d0df998
Merge pull request #48561 from sftim/20241027_docsy_friendly_banner_dismissal
Ready announcements for Docsy
2024-11-19 23:20:53 +00:00
Tim Bannister 4d016545db
Adapt sidebar navigation for newer Docsy 2024-11-18 20:33:54 +00:00
Reza Ghanbari eb56651165
Fix whitespace handling in features-state.html using Go comment tags (#48331)
- Utilized Go comment tags {{- /* Comment Text here */ -}} to manage whitespace
- Improved indentation for better readability
- Prevented unwanted line breaks or spaces in the rendered HTML output
2024-10-31 21:07:27 +00:00
Tim Bannister d38b7b4675
Change name for banner script
Align with informal naming convention.
2024-10-27 17:01:32 +00:00
Tim Bannister 80d198952f
Ready announcements for Docsy
Serve the JavaScript code using Hugo Pipes, and avoid customizing the
'head.html' partial. Part of some work to allow using vanilla Docsy
(if we wanted to).
2024-10-27 16:56:53 +00:00
Tim Bannister ccf4a246e5
Amalgamate styles for Community page
Put legacy and current styles in one place, and simplify CSS load.
2024-10-26 21:32:02 +01:00
Kubernetes Prow Robot 55ef334065
Merge pull request #46306 from Andygol/patch-1
Update glossary_tooltip.html to include relLangURL for $external_link
2024-10-25 12:30:53 +01:00
Kubernetes Prow Robot cc33a61fdb
Merge pull request #48422 from vinayakankugoyal/shortcode
Update the feature-state shortcode to display the default value.
2024-10-23 18:56:53 +01:00
Kubernetes Prow Robot 4cf394bb1a
Merge pull request #48447 from sftim/20241020_cluster_diagram_details
Redo cluster diagram details on architecture page
2024-10-22 06:14:51 +01:00
Tim Bannister 9836d105d2
Add support for <details> via shortcode 2024-10-20 14:20:31 +01:00
Vinayak Goyal b41120bb2d Update the feature-state shortcode to display the default value.
Signed-off-by: Vinayak Goyal <vinaygo@google.com>
2024-10-19 20:09:50 +00:00
Tim Bannister c2939d58ec
Ready feature boxes on main page for vanilla Docsy 2024-10-19 16:37:10 +01:00
Tim Bannister 3ab2d3aeb4
Tweak date formats in patch releases page
- Use Hugo's built-in support for localizing dates
- Allow customizing date formats separately
- Make more dates machine readable
- Add a tooltip for dates
2024-10-19 13:03:40 +01:00
Tim Bannister 4410c88c71
Drop unused partial
This layout is unused; drop it.
2024-10-15 18:52:44 +01:00
Tim Bannister 607d440d36
Drop unused partial
This layout is unused; drop it.
2024-10-15 18:24:15 +01:00
Tim Bannister 4444539c29
Customise footer for Kubernetes 2024-10-02 15:44:15 +01:00
Tim Bannister e1e2c16621
Use footer from Docsy theme 2024-10-02 14:49:25 +01:00
Reza Ghanbari 44e798ad79 Fix feature-state shortcode for accurate feature gate rendering within tabs
- Adjusted shortcode logic to correctly render feature gates and their states.
- Ensured compatibility with nested tab structures, resolving issues with displaying feature gates inside tabs.
2024-09-18 00:17:02 +02:00
Tim Bannister f5d4315b4b Use Docsy layout for community page
Adapt the existing page to work with (near-)vanilla Docsy.

This includes new localizable strings.
2024-09-05 00:26:26 +01:00
Tim Bannister 29fc69dea9 Revise docs landing page (Docsy alignment)
Drop some vestigial <br> elements from the docs portal page, and tweak
how we do the styling.

Helps get us ready to use vanilla Docsy.
2024-09-04 12:32:49 +01:00
Kubernetes Prow Robot ae24e82d0d
Merge pull request #46681 from sftim/20240605_redo_mermaid_shortcode
Redo Mermaid shortcode (Docsy alignment)
2024-09-03 19:12:22 +01:00
Kubernetes Prow Robot 211b4861b0
Merge pull request #47484 from sftim/20240514_restyle_glossary
Restyle glossary page
2024-08-29 11:00:29 +01:00
Kubernetes Prow Robot fd98767e14
Merge pull request #47411 from sftim/20240808_docsy_friendly_deprecation_warnings
Revise deprecation warnings to be more Docsy friendly
2024-08-29 09:10:30 +01:00
Tim Bannister ef4120423b Redo Mermaid shortcode
Ready this for vanilla Docsy
2024-08-27 14:45:01 +01:00
Kubernetes Prow Robot 2d2f37ac2c
Merge pull request #47482 from sftim/20240813_revise_sweetalert
Revise Sweetalert asset load
2024-08-25 09:28:08 +01:00
Kubernetes Prow Robot 81e1083e91
Merge pull request #47620 from Andygol/render-link
Implementation of the Link Decorator function for processing localised links 🈂️
2024-08-24 17:50:09 +01:00
Matteo Bianchi b153426c85
Fixed flag deprecations and updated Hugo version to latest (#47612)
* Fixed flag deprecations and updated Hugo version to latest

* Removed deprecated flag from css.html

* Includes fix for Hindi and Russian

Signed-off-by: mbianchidev <matteo@mb-consulting.dev>

* Update netlify.toml

Applied node update (from my other PR)

Co-authored-by: Dmitry Shurupov <dmitry.shurupov@palark.com>

---------

Signed-off-by: mbianchidev <matteo@mb-consulting.dev>
Co-authored-by: Dmitry Shurupov <dmitry.shurupov@palark.com>
2024-08-23 16:37:52 +01:00
Andrii Holovin a0ede947a2 refactor: the link processing logic has been redefined
depends on: https://github.com/kubernetes/website/pull/47612
2024-08-22 00:53:49 +03:00
Tim Bannister 8214a5f0ef Restyle glossary page
Match the theme more closely, and use SCSS to define the styling.
Also change the permalink hover behavior to be pure CSS.
2024-08-14 14:16:47 +01:00
Tim Bannister 45f628b047 Drop some unused shortcodes 2024-08-14 00:44:51 +01:00
Tim Bannister 93bd8323cc Revise Sweetalert asset load
Use Hugo Pipes to load the Sweetalert script when needed.
2024-08-14 00:05:51 +01:00
Tim Bannister 55f93e6878 Update layouts for Katacoda removal 2024-08-09 13:15:00 +01:00
Dipesh Rawat fae63d6e0f
Redo release-binaries shortcode 2024-08-09 01:49:05 +01:00
Tim Bannister 3346b60b8f Adapt blog section for Docsy 2024-08-08 22:43:27 +01:00
Tim Bannister 932f32412c Revise deprecation warnings
Ready the deprecation warning mechanism for when we want to align with
upstream Docsy.
2024-08-08 22:43:27 +01:00
Dipesh Rawat 051f98bbc6
Refine glossary for vanilla docsy 2024-08-08 00:53:37 +01:00
Dipesh Rawat da44bfa406
Refine click-to-zoom for Docsy 2024-08-07 01:00:52 +01:00
Junya Okabe ac4a08abd6 update: layouts/blog
fix: using T shortcode

Update layouts/blog/list.html

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2024-07-27 02:16:53 +09:00
Kubernetes Prow Robot af3d53cd7c
Merge pull request #46768 from cjyabraham/pagefind2
PageFind for users in China
2024-07-04 00:34:59 -07:00
Chris Abraham baeadc1b48 Increase weight of title in pagefind results
Signed-off-by: Chris Abraham <cjyabraham@gmail.com>
2024-07-03 15:37:05 +01:00
Chris Abraham 9d2317aa15 Replace Bing with PageFind search for users in China 2024-07-03 15:36:58 +01:00
Tim Bannister 46196821ae Clean up after the 10th birthday
Remove the special banner support, leaving some scaffolding in place.
2024-06-30 18:20:17 +01:00
Kubernetes Prow Robot 2149b21485
Merge pull request #47000 from jbiers/include-cve-status-in-rss-feed
Include CVE status in RSS feed
2024-06-28 00:25:27 -07:00