feat: Explicitly include specific markdown files in blame script

This commit is contained in:
Paul Gauthier (aider) 2024-11-18 13:46:43 -08:00
parent 06a5fec612
commit 21a28623ca

View file

@ -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")]