]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Fix topic repository list not being displayed and `skip_users` not being applied...
authorYurii Motov <109919500+YuriiMotov@users.noreply.github.com>
Wed, 15 Jul 2026 14:36:37 +0000 (16:36 +0200)
committerGitHub <noreply@github.com>
Wed, 15 Jul 2026 14:36:37 +0000 (16:36 +0200)
docs/en/data/skip_users.yml
docs/en/data/topic_repos.yml
docs/en/docs/external-links.md
docs/en/docs/fastapi-people.md
scripts/topic_repos.py

index cf24003af8ac56ec785d3d8abc1895db52f2b530..26b2247bf6eff489640f6b205dc78cb07e3b1730 100644 (file)
@@ -1,3 +1,4 @@
+users:
 - tiangolo
 - codecov
 - github-actions
index ecfad6cb44f16d0f4b6c187120952cf3313d2842..eff9f8078cbdae3d5d2767512dadc31cb1934c2b 100644 (file)
@@ -1,3 +1,4 @@
+repos:
 - name: headroom
   html_url: https://github.com/headroomlabs-ai/headroom
   stars: 55017
index d614c64eb62f8f2849bcedf8e16611b3c09be8cc..7138c3425f4af9455fcc1cc6068e7932694d8f4d 100644 (file)
@@ -23,7 +23,7 @@ But now that FastAPI is the backend framework with the most GitHub stars across
 
 Most starred [GitHub repositories with the topic `fastapi`](https://github.com/topics/fastapi):
 
-{% for repo in topic_repos %}
+{% for repo in topic_repos.repos %}
 
 <a href={{repo.html_url}} target="_blank">★ {{repo.stars}} - {{repo.name}}</a> by <a href={{repo.owner_html_url}} target="_blank">@{{repo.owner_login}}</a>.
 
index e79928fb324b390b6002a5d12537bcd91ad01703..73cd8c61344ef7d4721c706f63ad74330d348b49 100644 (file)
@@ -97,7 +97,7 @@ These are the users that have been [helping others the most with questions in Gi
 
 {% for user in people.last_month_experts[:10] %}
 
-{% if user.login not in skip_users %}
+{% if user.login not in skip_users.users %}
 
 <div class="user"><a href="{{ user.url }}"><div class="avatar-wrapper"><img src="{{ user.avatarUrl }}"/></div><div class="title">@{{ user.login }}</div></a> <div class="count">Questions replied: {{ user.count }}</div></div>
 
@@ -115,7 +115,7 @@ These are the users that have been [helping others the most with questions in Gi
 
 {% for user in people.three_months_experts[:10] %}
 
-{% if user.login not in skip_users %}
+{% if user.login not in skip_users.users %}
 
 <div class="user"><a href="{{ user.url }}"><div class="avatar-wrapper"><img src="{{ user.avatarUrl }}"/></div><div class="title">@{{ user.login }}</div></a> <div class="count">Questions replied: {{ user.count }}</div></div>
 
@@ -133,7 +133,7 @@ These are the users that have been [helping others the most with questions in Gi
 
 {% for user in people.six_months_experts[:10] %}
 
-{% if user.login not in skip_users %}
+{% if user.login not in skip_users.users %}
 
 <div class="user"><a href="{{ user.url }}"><div class="avatar-wrapper"><img src="{{ user.avatarUrl }}"/></div><div class="title">@{{ user.login }}</div></a> <div class="count">Questions replied: {{ user.count }}</div></div>
 
@@ -151,7 +151,7 @@ These are the users that have been [helping others the most with questions in Gi
 
 {% for user in people.one_year_experts[:20] %}
 
-{% if user.login not in skip_users %}
+{% if user.login not in skip_users.users %}
 
 <div class="user"><a href="{{ user.url }}"><div class="avatar-wrapper"><img src="{{ user.avatarUrl }}"/></div><div class="title">@{{ user.login }}</div></a> <div class="count">Questions replied: {{ user.count }}</div></div>
 
@@ -171,7 +171,7 @@ These are the users that have [helped others the most with questions in GitHub](
 
 {% for user in people.experts[:50] %}
 
-{% if user.login not in skip_users %}
+{% if user.login not in skip_users.users %}
 
 <div class="user"><a href="{{ user.url }}"><div class="avatar-wrapper"><img src="{{ user.avatarUrl }}"/></div><div class="title">@{{ user.login }}</div></a> <div class="count">Questions replied: {{ user.count }}</div></div>
 
@@ -193,7 +193,7 @@ They have contributed source code, documentation, etc. 📦
 
 {% for user in (contributors.values() | list)[:50] %}
 
-{% if user.login not in skip_users %}
+{% if user.login not in skip_users.users %}
 
 <div class="user"><a href="{{ user.url }}"><div class="avatar-wrapper"><img src="{{ user.avatarUrl }}"/></div><div class="title">@{{ user.login }}</div></a> <div class="count">Pull Requests: {{ user.count }}</div></div>
 
@@ -214,7 +214,7 @@ Translation reviewers have the **power to approve translations** of the document
 <div class="user-list user-list-center">
 {% for user in (translation_reviewers.values() | list)[:50] %}
 
-{% if user.login not in skip_users %}
+{% if user.login not in skip_users.users %}
 
 <div class="user"><a href="{{ user.url }}"><div class="avatar-wrapper"><img src="{{ user.avatarUrl }}"/></div><div class="title">@{{ user.login }}</div></a> <div class="count">Reviews: {{ user.count }}</div></div>
 
index 94379d38487ec28b5f1201b3912db6e69db7a85a..ac2991b11c9a38da5104580474842ff307e808ef 100644 (file)
@@ -44,7 +44,7 @@ def main() -> None:
                 owner_html_url=repo.owner.html_url,
             )
         )
-    data = [repo.model_dump() for repo in final_repos]
+    data = {"repos": [repo.model_dump() for repo in final_repos]}
 
     # Local development
     # repos_path = Path("../docs/en/data/topic_repos.yml")