Skip to content

Commit fb67b32

Browse files
authored
Add KV-cache-aware routing blog post and enhance YAML syntax highlighting (#76)
* Add KV-cache-aware routing blog post and enhance YAML syntax highlighting Signed-off-by: Pete Cheslock <[email protected]> * Add version note Signed-off-by: Pete Cheslock <[email protected]> --------- Signed-off-by: Pete Cheslock <[email protected]>
1 parent daefeb4 commit fb67b32

File tree

8 files changed

+495
-1
lines changed

8 files changed

+495
-1
lines changed

blog/2025-08-05_mastering-kv-cache-aware-routing.md

Lines changed: 442 additions & 0 deletions
Large diffs are not rendered by default.

blog/authors.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,10 @@ petecheslock:
3030
title: AI Community Architect, Red Hat
3131
url: https://github.com/petecheslock
3232
image_url: https://avatars.githubusercontent.com/u/511733?v=4
33-
33+
34+
35+
cnuland:
36+
name: Christopher Nuland
37+
title: Principal Technical Marketing Manager for AI, Red Hat
38+
url: https://github.com/cnuland
39+
image_url: /img/blogs/cnuland.jpeg
197 KB
Loading
300 KB
Loading
1.62 MB
Loading

docusaurus.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ const config = {
299299
prism: {
300300
theme: prismThemes.vsLight,
301301
darkTheme: prismThemes.vsDark,
302+
additionalLanguages: ['yaml'],
302303
},
303304
}),
304305
};

src/css/custom.css

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,3 +475,48 @@ img.llm-d-logo {
475475
.footer--dark {
476476
--ifm-footer-background-color: #262626 !important;
477477
}
478+
479+
/* Improved YAML syntax highlighting site-wide */
480+
/* Fix YAML code blocks to avoid red/green diff-like appearance */
481+
482+
/* Light mode YAML colors */
483+
.language-yaml .prism-code .token.string {
484+
color: #032f62 !important; /* Dark blue instead of red */
485+
}
486+
487+
.language-yaml .prism-code .token.comment {
488+
color: #6a737d !important; /* Muted gray instead of bright green */
489+
}
490+
491+
.language-yaml .prism-code .token.key.atrule {
492+
color: #005cc5 !important; /* Professional blue for YAML keys */
493+
}
494+
495+
.language-yaml .prism-code .token.number {
496+
color: #005cc5 !important; /* Consistent blue for numbers */
497+
}
498+
499+
.language-yaml .prism-code .token.boolean {
500+
color: #005cc5 !important; /* Consistent blue for booleans */
501+
}
502+
503+
/* Dark mode YAML colors */
504+
[data-theme="dark"] .language-yaml .prism-code .token.string {
505+
color: #9ecbff !important; /* Light blue instead of red */
506+
}
507+
508+
[data-theme="dark"] .language-yaml .prism-code .token.comment {
509+
color: #8b949e !important; /* Muted gray instead of bright green */
510+
}
511+
512+
[data-theme="dark"] .language-yaml .prism-code .token.key.atrule {
513+
color: #79c0ff !important; /* Light blue for keys */
514+
}
515+
516+
[data-theme="dark"] .language-yaml .prism-code .token.number {
517+
color: #79c0ff !important; /* Consistent light blue */
518+
}
519+
520+
[data-theme="dark"] .language-yaml .prism-code .token.boolean {
521+
color: #79c0ff !important; /* Consistent light blue */
522+
}

static/img/blogs/cnuland.jpeg

240 KB
Loading

0 commit comments

Comments
 (0)