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
Sayak Mukhopadhyay
6332644c56
feat: move styles to separate file
2025-07-01 15:57:05 +05:30
Tim Bannister
dae7c82e14
Drop div used for Katacoda button
...
It no longer works
2025-04-15 18:10:19 +01: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
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
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
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
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
ef4120423b
Redo Mermaid shortcode
...
Ready this for vanilla Docsy
2024-08-27 14:45:01 +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
Dipesh Rawat
fae63d6e0f
Redo release-binaries shortcode
2024-08-09 01:49:05 +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
Tim Bannister
f8baa0cec2
Ready Landscape shortcode for vanilla Docsy
...
Move the shortcode support for the CNCF landscape shortcode. This
readies us to make the site align with vanilla Docsy.
2024-06-11 14:14:14 +01:00
Tim Bannister
be2172f9a4
Ready sortable table support for Docsy
...
- make the JavaScript an asset
- add it to the head-end hook rather than the head partial itself
2024-05-24 13:44:48 +01:00
Tim Bannister
6357c3c7c9
Render favicons using Hugo Pipes
...
Manage favicons for the site using Hugo Pipes to render the sizes we
want.
2024-05-12 01:46:02 +01:00
Mengjiao Liu
234458f2e3
Add code_sample shortcode to replace code shortcode
2023-09-05 16:45:35 +08:00
Mengjiao Liu
f5388a1efe
Add code shortcode to replace codenew
2023-07-27 17:27:26 +08:00
Harold Cheng
638cd92532
fix: eliminate extra lines when copying to clipboard
2023-03-22 23:28:34 +08: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
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
Tim Bannister
735410f17b
Only load copy-and-paste helper on pages that use it
...
This change helps improve load times for key non-documentation pages
such as https://kubernetes.io/
2020-09-30 23:42:00 +01:00