From bfaa207ef3189fa6b0688bd3817a3d733af26c56 Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Sun, 22 Mar 2026 02:04:45 +0800 Subject: [PATCH] refactor(website): rename stdlib source type label to Built-in Co-Authored-By: Claude --- website/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/build.py b/website/build.py index 7e87dcbd..4f1baf86 100644 --- a/website/build.py +++ b/website/build.py @@ -40,7 +40,7 @@ class StarData(TypedDict): GITHUB_REPO_URL_RE = re.compile(r"^https?://github\.com/([^/]+/[^/]+?)(?:\.git)?/?$") SOURCE_TYPE_DOMAINS = { - "docs.python.org": "stdlib", + "docs.python.org": "Built-in", "gitlab.com": "GitLab", "bitbucket.org": "Bitbucket", } @@ -85,7 +85,7 @@ def sort_entries(entries: list[dict]) -> list[dict]: name = entry["name"].lower() if stars is not None: return (0, -stars, name) - if entry.get("source_type") == "stdlib": + if entry.get("source_type") == "Built-in": return (1, 0, name) return (2, 0, name)