From 20ce2d86baf87c9b7776134e1209abf029a77629 Mon Sep 17 00:00:00 2001 From: KKKK Date: Sun, 20 Sep 2026 15:55:51 +0800 Subject: [PATCH] docs: center README project metrics --- README.ja.md | 23 ++++++++++++++++++++--- README.md | 23 ++++++++++++++++++++--- README.zh-CN.md | 23 ++++++++++++++++++++--- scripts/validate.test.mjs | 4 ++++ 4 files changed, 64 insertions(+), 9 deletions(-) diff --git a/README.ja.md b/README.ja.md index f6bb4aa..f5c0cf1 100644 --- a/README.ja.md +++ b/README.ja.md @@ -19,9 +19,26 @@

概要

-| ソース確認済み | 1K+ Star リポジトリ | ユースケース分類 | スナップショット | -| :---: | :---: | :---: | :---: | -| **44** | **29** | **10** | **2026-09-20** | +
+ + + + + + + + + + + + + + + + + +
ソース確認済み1K+ Star リポジトリユースケース分類スナップショット
4429102026-09-20
+

カテゴリから探す

diff --git a/README.md b/README.md index da924b2..fcf5a67 100644 --- a/README.md +++ b/README.md @@ -19,9 +19,26 @@

At a glance

-| Source-reviewed projects | Repositories ≥1K stars | Use-case groups | Snapshot | -| :---: | :---: | :---: | :---: | -| **44** | **29** | **10** | **2026-09-20** | +
+ + + + + + + + + + + + + + + + + +
Source-reviewed projectsRepositories ≥1K starsUse-case groupsSnapshot
4429102026-09-20
+

Browse by category

diff --git a/README.zh-CN.md b/README.zh-CN.md index bf9066c..e656ddc 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -19,9 +19,26 @@

当前规模

-| 已核对源码项目 | 1K+ Star 仓库 | 实践方向 | 数据快照 | -| :---: | :---: | :---: | :---: | -| **44** | **29** | **10** | **2026-09-20** | +
+ + + + + + + + + + + + + + + + + +
已核对源码项目1K+ Star 仓库实践方向数据快照
4429102026-09-20
+

按分类浏览

diff --git a/scripts/validate.test.mjs b/scripts/validate.test.mjs index 71ffb22..4ab7471 100644 --- a/scripts/validate.test.mjs +++ b/scripts/validate.test.mjs @@ -54,6 +54,10 @@ test('README identity and project-owned cover stay present', async () => { assert.match(readme, /

At a glance<\/h2>/); assert.match(chineseReadme, /

当前规模<\/h2>/); assert.match(japaneseReadme, /

概要<\/h2>/); + for (const localizedReadme of [readme, chineseReadme, japaneseReadme]) { + assert.match(localizedReadme, /
\s*/); + assert.match(localizedReadme, /
44<\/strong><\/td>/); + } for (const localizedReadme of [readme, chineseReadme, japaneseReadme]) { assert.equal( [...localizedReadme.matchAll(/opengraph\.githubassets\.com\/awesome-jev-20260920\//g)].length,