docs: present maintainers separately

This commit is contained in:
Xubin Ren
2026-08-23 00:49:26 +08:00
parent 7afc6a1b33
commit cfe75dbb8d
2 changed files with 20 additions and 13 deletions
+2
View File
@@ -15,6 +15,7 @@ START = "<!-- contributors:start -->"
END = "<!-- contributors:end -->"
MAX_CONTRIBUTORS = 100
AVATARS_PER_ROW = 10
MAINTAINERS = {"re-bin", "chengyongru"}
def fetch_contributors() -> list[dict[str, str]]:
@@ -36,6 +37,7 @@ def fetch_contributors() -> list[dict[str, str]]:
if contributor.get("login")
and contributor.get("type") != "Bot"
and not contributor["login"].lower().endswith("[bot]")
and contributor["login"].lower() not in MAINTAINERS
]