Commit b78c555
committed
Resolves #__pending(FR-2765) — Jira: https://lablup.atlassian.net/browse/FR-2765
> Note: GitHub clone of FR-2765 is in flight; this PR description will be amended once the cloned issue number is available.
## Summary
Four small follow-ups from the Frontend Teams thread (2026-04-28). All scoped to the docs site (`packages/backend.ai-docs-toolkit/` + `packages/backend.ai-webui-docs/`); ship as one PR.
### 1. Korean homeIntro: "Lablup" → "래블업"
Jinho Heo's request — use the standard 래블업 transliteration in the Korean home-page intro paragraph. Pure label change in `WEBSITE_LABELS.ko.homeIntro`; other languages unchanged.
### 2. Language switcher icon: 가 / A
Replaces the Lucide `languages` glyph (which read as a generic squiggle and didn't telegraph "Korean ↔ Latin" to the user). The new icon is a 가 / A pair (one Hangul syllable + one Latin uppercase letter), matching the Material Symbols `language_korean_latin` idea.
The glyph outlines are baked in as inline `<path>` data with `fill: currentColor`, generated offline from Noto Sans CJK KR Bold via `fontTools.pens.svgPathPen.SVGPathPen` (U+AC00 + U+0041, font-size 13, baselines (1, 12) and (11, 23) inside a 24×24 viewBox). This avoids depending on the visitor having a CJK font installed and keeps the icon air-gap-safe. The const carries reproducibility notes so future re-tunes stay deterministic.
### 3. Version selector: `next` first
Reorder `versions:` in `docs-toolkit.config.yaml` so the dev/preview `next` channel surfaces at the top of the version `<select>`. Stable-channel readers still see the `(latest)` marker that the switcher attaches to whichever entry carries `latest: true`, so the cue is preserved.
### 4. Language switcher: `ko` first
Reorder `languages:` in `book.config.yaml` so 한국어 surfaces at the top of the language `<select>`. Build iteration order shifts but is output-only — no consumer relies on it.
## Verification
- `pnpm --filter backend.ai-docs-toolkit build` — clean.
- `pnpm --filter backend.ai-docs-toolkit test` — 150/150 pass.
- `bash scripts/verify.sh` — Relay / Lint / Format / TypeScript ✅.
- Local site rebuild + inspection (`pnpm --filter backend.ai-webui-docs serve:web`):
- `next/ko/index.html` — homeIntro shows "래블업의 분산..."
- `next/ko/quickstart.html` — language `<select>` order: 한국어 → English → 日本語 → ภาษาไทย; version `<select>` order: next (selected) → 26.4 (latest)
- Topbar language icon: single `<path>` (no `<text>`, no font dependency)
## Test plan
- [ ] Reviewer can verify on `webui-docs-next.lablup.ai` after merge + Amplify deploy.
- [ ] Confirm 가/A glyph renders with `currentColor` in dark mode.
- [ ] Confirm version `<select>` shows `next` first on every chapter page.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent 13f209a commit b78c555
5 files changed
Lines changed: 140 additions & 30 deletions
File tree
- packages
- backend.ai-docs-toolkit/src
- backend.ai-webui-docs
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | | - | |
| 444 | + | |
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| |||
Lines changed: 86 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
230 | 283 | | |
231 | 284 | | |
232 | 285 | | |
| |||
577 | 630 | | |
578 | 631 | | |
579 | 632 | | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
580 | 661 | | |
581 | 662 | | |
582 | 663 | | |
583 | 664 | | |
584 | 665 | | |
585 | 666 | | |
586 | | - | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
587 | 670 | | |
588 | 671 | | |
589 | 672 | | |
| |||
647 | 730 | | |
648 | 731 | | |
649 | 732 | | |
650 | | - | |
651 | | - | |
652 | | - | |
653 | | - | |
| 733 | + | |
654 | 734 | | |
655 | 735 | | |
656 | 736 | | |
| |||
663 | 743 | | |
664 | 744 | | |
665 | 745 | | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
| 746 | + | |
670 | 747 | | |
671 | 748 | | |
672 | 749 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
466 | 481 | | |
467 | | - | |
| 482 | + | |
468 | 483 | | |
469 | 484 | | |
470 | 485 | | |
| |||
1372 | 1387 | | |
1373 | 1388 | | |
1374 | 1389 | | |
1375 | | - | |
| 1390 | + | |
1376 | 1391 | | |
1377 | | - | |
1378 | | - | |
1379 | | - | |
1380 | | - | |
1381 | | - | |
1382 | | - | |
1383 | | - | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
1384 | 1402 | | |
1385 | 1403 | | |
1386 | 1404 | | |
| |||
1408 | 1426 | | |
1409 | 1427 | | |
1410 | 1428 | | |
1411 | | - | |
| 1429 | + | |
1412 | 1430 | | |
1413 | 1431 | | |
1414 | 1432 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
50 | 63 | | |
51 | 64 | | |
52 | 65 | | |
53 | 66 | | |
54 | 67 | | |
55 | 68 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 69 | | |
60 | 70 | | |
61 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
| 13 | + | |
8 | 14 | | |
9 | 15 | | |
10 | | - | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| |||
0 commit comments