Commit Graph

514 Commits (366c48ff46787812e1ba3dc3716af4f28feaca3c)

Author SHA1 Message Date
Tim Bannister 366c48ff46
Fix Disqus config lookup 2025-02-27 20:15:38 +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
Kubernetes Prow Robot 516813d581
Merge pull request #49598 from shurup/css-improve-case-studies
Improve the  styles for case studies' pages
2025-02-07 08:39:56 -08:00
Kubernetes Prow Robot 35780e5f1d
Merge pull request #48258 from sftim/20241008_redo_kubeweekly
Refactor KubeWeekly signup form
2025-02-04 16:30:59 -08:00
Tim Bannister ab484498e4
Refactor KubeWeekly signup form
Turn it into a shortcode. Allow fallback in case localizations have not
yet caught up.

Co-authored-by: Dmitry Shurupov <dmitry.shurupov@palark.com>
Co-authored-by: Sayak Mukhopadhyay <mukhopadhyaysayak@gmail.com>
2025-02-04 17:23:20 +00:00
arshadda 82012abc49 update attribute to integrity 2025-02-04 11:03:02 +05:30
Dmitry Shurupov 9b372e733a
Improve Case Studies CSS
Signed-off-by: Dmitry Shurupov <dmitry.shurupov@palark.com>
2025-01-30 13:42:05 +07:00
Ayush Tiwari 92984ad2c1 Tell Your Story 2025-01-30 01:48:40 +05:30
Tim Bannister 2108c450f6
Add support for KaTeX formule
Per https://www.docsy.dev/docs/adding-content/diagrams-and-formulae/#latex-support-with-katex
we can have formulae. Make it so, and document this in the style guide.
2025-01-29 16:15:13 +00:00
Tim Bannister 0d1755f311
Fix styles for case studies section 2025-01-28 23:35:18 +00:00
Tim Bannister 9c217f796d
fix: reinstate splitter
Fixup for PR 48350: add the missing code to load the splitter library.
2025-01-27 14:19:56 +00:00
Kubernetes Prow Robot af0077ff7e
Merge pull request #48350 from sftim/20241015_tidy_page_head
Tidy <head> for pages
2025-01-27 03:49:23 -08:00
Adam In Tae Gerard 3d606b7b21
docs: shortcode formatting (#48622)
* docs: fix typo

* docs: fix shortcode formatting

* fix: move p tag

* docs: fix typos

* docs: fix typos

* fix: make suggested correction

Co-authored-by: Arvind <aruparekh@gmail.com>

* fix: revert corrected typos in this PR

---------

Co-authored-by: Arvind <aruparekh@gmail.com>
2025-01-26 06:39:22 -08:00
Tim Bannister ee50a91926
Tidy <head> for pages
- Align closely to Docsy theme
- Remove duplicated Twitter and Open Graph metadata
- Render the Open Graph image through Hugo Pipes
- Move the theme color to the head-end hook
2025-01-24 11:19:00 +00:00
Sayak Mukhopadhyay e5d538425f
fix: attempt to ensure that mermaid works both in dev and preview envs 2025-01-14 12:05:17 +05:30
Sayak Mukhopadhyay 214eda5088
fix: integrity hash of mermaid library 2025-01-14 01:46:48 +05:30
Kubernetes Prow Robot e628bdf427
Merge pull request #48958 from apoorvapendse/main
web: Improve UX for copyCode animation
2025-01-13 02:38:32 -08:00
Kubernetes Prow Robot 620d7f276c
Merge pull request #48756 from sftim/20241118_localize_sidebar_tree_text
Localize accessibility text in sidebar nav
2025-01-13 02:36:32 -08:00
Qiming Teng 3782732ce4 Fix feature gate name conflicts (2/2) 2025-01-08 10:51:36 +08:00
Qiming Teng 58d1204d7d Fix feature gate name conflicts (1/2) 2025-01-08 10:30:42 +08:00
Andrii Holovin b6ee0b6e59 resources.ToCSS was deprecated 2024-12-31 12:14:31 +02:00
Apoorva Pendse f56cf73c44 web: Improve UX for copyCode animation
This commit introduces a new toast animation instead
of the previous modal that would have to be manually closed.
The new toast is less intrusive to the user's workflow
and closes by itself.

Fixes issue: 48950.

Signed-off-by: Apoorva Pendse <apoorvavpendse@gmail.com>
2024-12-31 13:35:57 +05:30
Tim Bannister 85f64e5757
Localize accessibility text in sidebar nav
Allow localizing labels used in the sidebar navigation to help
accessibility
2024-12-31 07:47:31 +00: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