docs(contributing): remove outdated step — themes are auto-discovered by build script

The build-preview.go now uses discoverThemes() to find all theme directories
under themes/ automatically. The manual step of adding themes to a slice is
no longer needed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
KenanZhuandClaude Opus 4.8 committed 2026-06-03 20:36:50 +08:00
1 parent d9e6873f49
commit 77854ee0ed
6 files changed
+18 -24

No files matched your search

+3 -4
View File
@@ -7,10 +7,9 @@
1. スタイルディレクトリを作成: `themes/<style-name>/`
2. 既存スタイルからディレクトリ構造をコピー
3. 11個の `.tmpl` ファイルを独自デザインで実装
4. `tools/build-preview.go` の `themes` スライスに追加
5. プレビューを再生成: `go run ./tools/build-preview.go`
6. `preview/index.html` の `<select id="sel-theme">` に追加
7. スクリーンショット付きで PR を提出
4. プレビューを再生成: `go run ./tools/build-preview.go`(ビルドスクリプトが `themes/` 以下の全テーマを自動検出します)
5. `preview/index.html` の `<select id="sel-theme">` に追加
6. スクリーンショット付きで PR を提出
### スタイルガイドライン