Skip to content

Commit 6eb37c8

Browse files
authored
docs(readme): add star history section to translated READMEs (oomol-lab#216)
The root README embeds a star-growth chart that the daily star-history workflow refreshes in place, but none of the six translated READMEs under `docs/` carried it. This adds the same `<picture>` block (light/dark SVG) with localized headings and alt text to the fr, ja, ko, ru, zh-CN, and zh-TW READMEs, pointing at `../assets/star-history/`. No workflow change is needed: the chart SVG filenames are stable and only their contents change on each refresh, so the translated copies stay current automatically. The `<!-- star-history:start/end -->` marker comments are deliberately omitted from the translations — the action's `readme` input only rewrites the root `README.md`, and if it were ever pointed at `docs/` it would embed repo-root-relative paths that break from there; a static block avoids implying automation that doesn't exist. Signed-off-by: Kevin Cui <bh@bugs.cc>
1 parent 2409c98 commit 6eb37c8

6 files changed

Lines changed: 42 additions & 0 deletions

File tree

docs/README.fr.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,3 +318,10 @@ Merci à toutes les personnes qui ont contribué à OpenConnector. Vous souhaite
318318
Consultez le [guide de contribution](../CONTRIBUTING.md).
319319

320320
[![Contributeurs OpenConnector](https://contrib.rocks/image?repo=oomol-lab/open-connector)](https://github.com/oomol-lab/open-connector/graphs/contributors)
321+
322+
## Historique des Stars
323+
324+
<picture>
325+
<source media="(prefers-color-scheme: dark)" srcset="../assets/star-history/star-history-dark.svg">
326+
<img alt="Historique des Stars" src="../assets/star-history/star-history-light.svg">
327+
</picture>

docs/README.ja.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,3 +296,10 @@ OpenConnector の開発にご協力いただいたすべての皆さまに感謝
296296
[コントリビューションガイド](../CONTRIBUTING.md) をご覧ください。
297297

298298
[![OpenConnector コントリビューター](https://contrib.rocks/image?repo=oomol-lab/open-connector)](https://github.com/oomol-lab/open-connector/graphs/contributors)
299+
300+
## Star 履歴
301+
302+
<picture>
303+
<source media="(prefers-color-scheme: dark)" srcset="../assets/star-history/star-history-dark.svg">
304+
<img alt="Star 履歴" src="../assets/star-history/star-history-light.svg">
305+
</picture>

docs/README.ko.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,3 +305,10 @@ OpenConnector를 함께 만들어 주신 모든 기여자께 감사드립니다.
305305
[기여 안내](../CONTRIBUTING.md)를 확인하고 함께해 주세요.
306306

307307
[![OpenConnector 기여자](https://contrib.rocks/image?repo=oomol-lab/open-connector)](https://github.com/oomol-lab/open-connector/graphs/contributors)
308+
309+
## Star 히스토리
310+
311+
<picture>
312+
<source media="(prefers-color-scheme: dark)" srcset="../assets/star-history/star-history-dark.svg">
313+
<img alt="Star 히스토리" src="../assets/star-history/star-history-light.svg">
314+
</picture>

docs/README.ru.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,3 +312,10 @@ files в этот repository.
312312
[руководством по участию](../CONTRIBUTING.md).
313313

314314
[![Участники OpenConnector](https://contrib.rocks/image?repo=oomol-lab/open-connector)](https://github.com/oomol-lab/open-connector/graphs/contributors)
315+
316+
## История звёзд
317+
318+
<picture>
319+
<source media="(prefers-color-scheme: dark)" srcset="../assets/star-history/star-history-dark.svg">
320+
<img alt="История звёзд" src="../assets/star-history/star-history-light.svg">
321+
</picture>

docs/README.zh-CN.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,3 +280,10 @@ Provider 和 app 名称、metadata、链接、scope、permission 以及可选 lo
280280
感谢每一位参与建设 OpenConnector 的贡献者。欢迎查看 [贡献指南](../CONTRIBUTING.md),加入我们。
281281

282282
[![OpenConnector 贡献者](https://contrib.rocks/image?repo=oomol-lab/open-connector)](https://github.com/oomol-lab/open-connector/graphs/contributors)
283+
284+
## Star 历史
285+
286+
<picture>
287+
<source media="(prefers-color-scheme: dark)" srcset="../assets/star-history/star-history-dark.svg">
288+
<img alt="Star 历史" src="../assets/star-history/star-history-light.svg">
289+
</picture>

docs/README.zh-TW.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,3 +278,10 @@ npm test
278278
感謝每一位參與建設 OpenConnector 的貢獻者。歡迎參閱 [貢獻指南](../CONTRIBUTING.md),加入我們。
279279

280280
[![OpenConnector 貢獻者](https://contrib.rocks/image?repo=oomol-lab/open-connector)](https://github.com/oomol-lab/open-connector/graphs/contributors)
281+
282+
## Star 歷史
283+
284+
<picture>
285+
<source media="(prefers-color-scheme: dark)" srcset="../assets/star-history/star-history-dark.svg">
286+
<img alt="Star 歷史" src="../assets/star-history/star-history-light.svg">
287+
</picture>

0 commit comments

Comments
 (0)