Skip to content

feat: TanStack Router でドキュメントサイトを再構築#12

Merged
tk1024 merged 3 commits intomainfrom
feat/docs-redesign
Mar 22, 2026
Merged

feat: TanStack Router でドキュメントサイトを再構築#12
tk1024 merged 3 commits intomainfrom
feat/docs-redesign

Conversation

@tk1024
Copy link
Owner

@tk1024 tk1024 commented Mar 22, 2026

Summary

  • docs-site/ に TanStack Router + Vite + React + Tailwind CSS で SPA を構築
  • README.md を日本語化、README.en.md に英語版を移動

Playground

  • textarea で複数行入力(1行に1名)
  • サンプルカテゴリボタン(一般、VTuber、漢字+ひらがな 等 8種)
  • allowLowConfidence トグル
  • 結果テーブル + 詳細ボタンで analyze() 候補一覧を展開
  • 表示切替(テーブル/テキスト)
  • オプション(信頼度の表示/非表示)
  • TSV/CSV エクスポート
  • ダークモード対応、レスポンシブ
  • ヘッダーに GitHub アイコンリンク

ページ構成

  • / - Playground(サンプル統合)
  • /docs - インストール、API リファレンス
  • /how-it-works - スコアリングアルゴリズムの解説

README

  • README.md → 日本語(Playground リンク付き)
  • README.en.md → 英語

Test plan

  • npm test 84テスト全パス
  • docs-site/npm run build 成功
  • ローカル dev サーバーで動作確認

🤖 Generated with Claude Code

tk1024 and others added 3 commits March 22, 2026 22:42
- docs-site/ に TanStack Router + Vite + React + Tailwind CSS で SPA を構築
- ページ構成: Playground / Docs / How it works / Samples
- Playground: リアルタイム分離、analyze候補一覧、allowLowConfidenceトグル
- Samples: テストデータから8カテゴリのサンプルを表示、クリックでPlaygroundへ
- ダークモード対応、レスポンシブ
- README.md を日本語化、README.en.md に英語版を移動
- Playground リンク: https://tk1024.github.io/seimei-split/

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Playground: textarea複数行入力、サンプルカテゴリボタン、allowLowConfidenceトグル
- 表示切替(テーブル/テキスト)、信頼度表示オプション
- TSV/CSVエクスポート機能
- 詳細ボタンで analyze() 候補一覧を展開
- ホバーエフェクト追加
- Samples ページを Playground に統合
- README.md を日本語化、README.en.md に英語版を移動
- Playground: https://tk1024.github.io/seimei-split/

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link

Test Results

Category Correct Wrong Unsplit Accuracy
名前内部にかな混在 7/10 0 3 70.0%
名前内部にかな混在 [lowConf] 10/10 0 0 100.0%
全ひらがな/全カタカナ 13/15 0 2 86.7%
全ひらがな/全カタカナ [lowConf] 15/15 0 0 100.0%
ノ・ヶ・々を含む姓 9/11 0 2 81.8%
ノ・ヶ・々を含む姓 [lowConf] 11/11 0 0 100.0%
漢字姓+カタカナ名 12/12 0 0 100.0%
漢字姓+カタカナ名 [lowConf] 12/12 0 0 100.0%
漢字姓+ひらがな名 15/15 0 0 100.0%
漢字姓+ひらがな名 [lowConf] 15/15 0 0 100.0%
分割が曖昧な名前 8/10 0 2 80.0%
分割が曖昧な名前 [lowConf] 10/10 0 0 100.0%
かな姓+漢字名 14/16 0 2 87.5%
かな姓+漢字名 [lowConf] 16/16 0 0 100.0%
異体字・旧字体 13/15 0 2 86.7%
異体字・旧字体 [lowConf] 15/15 0 0 100.0%
3文字以上の姓 9/12 0 3 75.0%
MVP (208件) 196/207 0 11 94.7%
3文字以上の姓 [lowConf] 12/12 0 0 100.0%
1文字姓 12/13 0 1 92.3%
1文字姓 [lowConf] 13/13 0 0 100.0%
MVP (208件) [lowConf] 206/207 1 0 99.5%
VTuber名 2/30 0 28 6.7%
VTuber名 [lowConf] 28/30 2 0 93.3%

Unit Tests: 13 passed files, 84 passed tests

@tk1024 tk1024 merged commit 3c2adcf into main Mar 22, 2026
1 check passed
@tk1024 tk1024 deleted the feat/docs-redesign branch March 22, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant