Skip to content

Commit 45ee258

Browse files
unamedkrclaude
andcommitted
feat: educational guide site + deploy to GitHub Pages (/guide)
Interactive educational guide explaining KV cache compression: - Chapter 1-6: Problem → KV Cache → Insight → 4 Techniques → Benchmarks → Papers - Scroll-triggered animations, interactive visualizations - Entropy heatmap, compression pipeline, token importance charts - Glossary of all technical terms - Dark theme, responsive, self-contained HTML (679 lines) Updates pages workflow to deploy site/ alongside wasm/ demo. URL: quantumaikr.github.io/quant.cpp/guide/ Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e0ae945 commit 45ee258

2 files changed

Lines changed: 686 additions & 4 deletions

File tree

.github/workflows/pages.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [main]
66
paths:
77
- 'wasm/**'
8+
- 'site/**'
89
- '.github/workflows/pages.yml'
910
workflow_dispatch:
1011

@@ -32,12 +33,14 @@ jobs:
3233

3334
- name: Prepare pages directory
3435
run: |
35-
mkdir -p _site
36+
mkdir -p _site _site/guide
37+
# WASM demo (root)
3638
cp wasm/index.html _site/
37-
cp wasm/quant.js _site/
38-
cp wasm/quant.wasm _site/
39-
# COOP/COEP headers for SharedArrayBuffer support
39+
cp wasm/quant.js _site/ 2>/dev/null || true
40+
cp wasm/quant.wasm _site/ 2>/dev/null || true
4041
cp wasm/_headers _site/_headers 2>/dev/null || true
42+
# Educational guide (/guide)
43+
cp site/index.html _site/guide/ 2>/dev/null || true
4144
4245
- name: Setup Pages
4346
uses: actions/configure-pages@v5

0 commit comments

Comments
 (0)