From 77854ee0ed9578990e09252b1b07d66e274d6fee Mon Sep 17 00:00:00 2001 From: KenanZhu <3471685733@qq.com> Date: Wed, 3 Jun 2026 20:36:50 +0800 Subject: [PATCH] =?UTF-8?q?docs(contributing):=20remove=20outdated=20step?= =?UTF-8?q?=20=E2=80=94=20themes=20are=20auto-discovered=20by=20build=20sc?= =?UTF-8?q?ript?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- CONTRIBUTING.md | 7 +++---- docs/CONTRIBUTING.ja.md | 7 +++---- docs/CONTRIBUTING.ko.md | 7 +++---- docs/CONTRIBUTING.ru.md | 7 +++---- docs/CONTRIBUTING.zh-CN.md | 7 +++---- docs/CONTRIBUTING.zh-TW.md | 7 +++---- 6 files changed, 18 insertions(+), 24 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7dad33b..6d574bb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,10 +11,9 @@ Thanks for your interest in contributing! This project aims to provide a diverse 1. Create the style directory: `themes//` 2. Copy the directory structure from an existing style 3. Implement all 11 `.tmpl` files with your unique visual design -4. Add your theme to the `themes` slice in `tools/build-preview.go` -5. Regenerate preview data: `go run ./tools/build-preview.go` -6. Add your theme as an `