1
0
Fork 0

readme_generator: sorted screenshot list for consistency (#2440)

This commit is contained in:
Salamandar 2024-06-23 14:24:40 +02:00 committed by GitHub
parent 9e26fc36d9
commit d8283349d7

View file

@ -99,7 +99,7 @@ def generate_READMEs(app_path: Path):
screenshots_dir = app_path / "doc" / "screenshots" screenshots_dir = app_path / "doc" / "screenshots"
if screenshots_dir.exists(): if screenshots_dir.exists():
for entry in screenshots_dir.iterdir(): for entry in sorted(screenshots_dir.iterdir()):
# only pick files (no folder) on the root of 'screenshots' # only pick files (no folder) on the root of 'screenshots'
if not entry.is_file(): if not entry.is_file():
continue continue