From: Yurii Motov <109919500+YuriiMotov@users.noreply.github.com> Date: Wed, 15 Jul 2026 14:36:37 +0000 (+0200) Subject: 📝 Fix topic repository list not being displayed and `skip_users` not being applied... X-Git-Tag: 0.139.1~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e24d44cce4092a33b64e9536e96e7608a7dcb9b8;p=thirdparty%2Ffastapi%2Ffastapi.git 📝 Fix topic repository list not being displayed and `skip_users` not being applied (#15995) --- diff --git a/docs/en/data/skip_users.yml b/docs/en/data/skip_users.yml index cf24003af8..26b2247bf6 100644 --- a/docs/en/data/skip_users.yml +++ b/docs/en/data/skip_users.yml @@ -1,3 +1,4 @@ +users: - tiangolo - codecov - github-actions diff --git a/docs/en/data/topic_repos.yml b/docs/en/data/topic_repos.yml index ecfad6cb44..eff9f8078c 100644 --- a/docs/en/data/topic_repos.yml +++ b/docs/en/data/topic_repos.yml @@ -1,3 +1,4 @@ +repos: - name: headroom html_url: https://github.com/headroomlabs-ai/headroom stars: 55017 diff --git a/docs/en/docs/external-links.md b/docs/en/docs/external-links.md index d614c64eb6..7138c3425f 100644 --- a/docs/en/docs/external-links.md +++ b/docs/en/docs/external-links.md @@ -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 %} ★ {{repo.stars}} - {{repo.name}} by @{{repo.owner_login}}. diff --git a/docs/en/docs/fastapi-people.md b/docs/en/docs/fastapi-people.md index e79928fb32..73cd8c6134 100644 --- a/docs/en/docs/fastapi-people.md +++ b/docs/en/docs/fastapi-people.md @@ -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 %}
@{{ user.login }}
Questions replied: {{ user.count }}
@@ -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 %}
@{{ user.login }}
Questions replied: {{ user.count }}
@@ -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 %}
@{{ user.login }}
Questions replied: {{ user.count }}
@@ -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 %}
@{{ user.login }}
Questions replied: {{ user.count }}
@@ -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 %}
@{{ user.login }}
Questions replied: {{ user.count }}
@@ -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 %}
@{{ user.login }}
Pull Requests: {{ user.count }}
@@ -214,7 +214,7 @@ Translation reviewers have the **power to approve translations** of the document
{% for user in (translation_reviewers.values() | list)[:50] %} -{% if user.login not in skip_users %} +{% if user.login not in skip_users.users %}
@{{ user.login }}
Reviews: {{ user.count }}
diff --git a/scripts/topic_repos.py b/scripts/topic_repos.py index 94379d3848..ac2991b11c 100644 --- a/scripts/topic_repos.py +++ b/scripts/topic_repos.py @@ -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")