From 21a28623ca1ab2e6586eaea6bf209b67f011cd8f Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Mon, 18 Nov 2024 13:46:43 -0800 Subject: [PATCH] feat: Explicitly include specific markdown files in blame script --- scripts/blame.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/blame.py b/scripts/blame.py index 13ad5d650..41b14aaa0 100755 --- a/scripts/blame.py +++ b/scripts/blame.py @@ -25,7 +25,8 @@ def blame(start_tag, end_tag=None): for f in files if f.endswith((".py", ".scm", ".sh", "Dockerfile", "Gemfile")) or (f.startswith(".github/workflows/") and f.endswith(".yml")) - or (f.startswith("aider/website/share/") and f.endswith(".md")) + or f == "aider/website/share/index.md" + or f == "aider/website/docs/leaderboards/index.md" ] files = [f for f in files if not f.endswith("prompts.py")]