Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
docs(themes): register a store theme as themes/<id>.json (MUL-9046) (#10377)
Jiayuan Zhangcddb005c40f3
diff --git a/apps/docs/content/docs/developers/themes.fr.mdx b/apps/docs/content/docs/developers/themes.fr.mdxindex e617825933..e340c063f7 100644--- a/apps/docs/content/docs/developers/themes.fr.mdx+++ b/apps/docs/content/docs/developers/themes.fr.mdx@@ -219,7 +219,7 @@ Gardez le thème dans un dépôt GitHub public. [multica-ai/multica-theme-sample### L'ajouter au registre-Ouvrez une pull request qui ajoute le thème à `themes.json` dans le registre. La pull request lance `theme:check` et `theme:preview` sur la release et commente le résultat ; un mainteneur la fusionne une fois qu'elle passe.+Ouvrez une pull request qui ajoute au registre un fichier `themes/<id>.json`, nommé d'après l'`id` du manifest. Chaque thème a son propre fichier : les pull requests de thèmes différents n'entrent pas en conflit. La pull request lance `theme:check` et `theme:preview` sur la release et commente le résultat ; un mainteneur la fusionne une fois qu'elle passe.</Step></Steps>diff --git a/apps/docs/content/docs/developers/themes.ja.mdx b/apps/docs/content/docs/developers/themes.ja.mdxindex 955bc35764..adce91ccf5 100644--- a/apps/docs/content/docs/developers/themes.ja.mdx+++ b/apps/docs/content/docs/developers/themes.ja.mdx@@ -219,7 +219,7 @@ pnpm theme:preview path/to/paper --out preview # preview/light.png と preview### レジストリに追加する-レジストリの `themes.json` にテーマを追加する pull request を作ります。pull request はリリースに対して `theme:check` と `theme:preview` を実行して結果をコメントし、通過したらメンテナーがマージします。+レジストリに `themes/<id>.json` というファイルを追加する pull request を作ります。ファイル名は manifest の `id` です。テーマごとにファイルが分かれているので、別々のテーマの pull request は競合しません。pull request はリリースに対して `theme:check` と `theme:preview` を実行して結果をコメントし、通過したらメンテナーがマージします。</Step></Steps>diff --git a/apps/docs/content/docs/developers/themes.ko.mdx b/apps/docs/content/docs/developers/themes.ko.mdxindex fe5436c2d3..05879c6cfb 100644--- a/apps/docs/content/docs/developers/themes.ko.mdx+++ b/apps/docs/content/docs/developers/themes.ko.mdx@@ -219,7 +219,7 @@ pnpm theme:preview path/to/paper --out preview # preview/light.png와 preview/### 레지스트리에 추가하기-레지스트리의 `themes.json`에 테마를 추가하는 pull request를 엽니다. pull request는 릴리스에 `theme:check`와 `theme:preview`를 실행해 결과를 댓글로 남기고, 통과하면 메인테이너가 병합합니다.+레지스트리에 `themes/<id>.json` 파일을 추가하는 pull request를 엽니다. 파일 이름은 manifest의 `id`입니다. 테마마다 파일이 따로 있어서 서로 다른 테마의 pull request는 충돌하지 않습니다. pull request는 릴리스에 `theme:check`와 `theme:preview`를 실행해 결과를 댓글로 남기고, 통과하면 메인테이너가 병합합니다.</Step></Steps>diff --git a/apps/docs/content/docs/developers/themes.mdx b/apps/docs/content/docs/developers/themes.mdxindex b9daa89b8a..d7931cc7fa 100644--- a/apps/docs/content/docs/developers/themes.mdx+++ b/apps/docs/content/docs/developers/themes.mdx@@ -219,7 +219,7 @@ Tag the release with the manifest's `version` (`1.0.0` or `v1.0.0`) and attach t### Add it to the registry-Open a pull request that adds the theme to `themes.json` in the registry. The pull request runs `theme:check` and `theme:preview` on the release and comments with the result; a maintainer merges it once it passes.+Open a pull request that adds a file `themes/<id>.json`, named by the manifest's `id`, to the registry. Each theme has its own file, so pull requests for different themes don't conflict. The pull request runs `theme:check` and `theme:preview` on the release and comments with the result; a maintainer merges it once it passes.</Step></Steps>diff --git a/apps/docs/content/docs/developers/themes.zh-Hant.mdx b/apps/docs/content/docs/developers/themes.zh-Hant.mdxindex bfa5c51e22..b53d3b91b6 100644--- a/apps/docs/content/docs/developers/themes.zh-Hant.mdx+++ b/apps/docs/content/docs/developers/themes.zh-Hant.mdx@@ -219,7 +219,7 @@ pnpm theme:preview path/to/paper --out preview # preview/light.png 和 preview### 加入倉庫-提一個 pull request,把主題加到倉庫的 `themes.json` 裡。pull request 會對這個 release 執行 `theme:check` 和 `theme:preview`,並在評論裡貼出結果;通過後由維護者合併。+提一個 pull request,在倉庫裡新增檔案 `themes/<id>.json`,檔名就是 manifest 的 `id`。每個主題一個檔案,不同主題的 pull request 不會衝突。pull request 會對這個 release 執行 `theme:check` 和 `theme:preview`,並在評論裡貼出結果;通過後由維護者合併。</Step></Steps>diff --git a/apps/docs/content/docs/developers/themes.zh.mdx b/apps/docs/content/docs/developers/themes.zh.mdxindex 5cf41dba5d..28f50115fe 100644--- a/apps/docs/content/docs/developers/themes.zh.mdx+++ b/apps/docs/content/docs/developers/themes.zh.mdx@@ -219,7 +219,7 @@ pnpm theme:preview path/to/paper --out preview # preview/light.png 和 preview### 加入仓库-提一个 pull request,把主题加到仓库的 `themes.json` 里。pull request 会对这个 release 运行 `theme:check` 和 `theme:preview`,并在评论里贴出结果;通过后由维护者合并。+提一个 pull request,在仓库里新增文件 `themes/<id>.json`,文件名就是 manifest 的 `id`。每个主题一个文件,不同主题的 pull request 不会冲突。pull request 会对这个 release 运行 `theme:check` 和 `theme:preview`,并在评论里贴出结果;通过后由维护者合并。</Step></Steps>diff --git a/docs/theming.md b/docs/theming.mdindex 5ff77c7834..dbbedd00ff 100644--- a/docs/theming.md+++ b/docs/theming.md@@ -338,9 +338,11 @@ has the details; in short:is a starting point with a release workflow.2. Publish a release tagged with the manifest's `version` (`1.0.0` or`v1.0.0`) and attach the zipped theme as `theme.zip`.-3. Add the theme to `themes.json` in the registry with a pull request. The- pull request runs `theme:check` and `theme:preview` on the release and- comments with the result; a maintainer merges once it passes.+3. Add a file `themes/<id>.json`, named by the manifest's `id`, to the+ registry with a pull request. Each theme has its own file, so pull+ requests for different themes don't conflict. The pull request runs+ `theme:check` and `theme:preview` on the release and comments with the+ result; a maintainer merges once it passes.New releases reach the store within about an hour, after they pass the samechecks; people who installed the theme then see **Update**. A release that