1
0
Fork 0
Commit graph

27 commits

Author SHA1 Message Date
github-actions[bot]
ebb1b75bc3 🎨 Format Python code with Black (#2582)
Co-authored-by: Salamandar <6552989+Salamandar@users.noreply.github.com>
2024-09-12 14:48:36 +02:00
Félix Piédallu
a1b9ade4f1 readme_generator: use get_apps_repo 2024-09-12 14:39:40 +02:00
Félix Piédallu
a039a43ed6 make_readme: use get_apps_repo 2024-09-12 14:39:40 +02:00
Salamandar
d8283349d7 readme_generator: sorted screenshot list for consistency (#2440) 2024-06-23 14:24:40 +02:00
github-actions[bot]
5ecf2b81ae 🎨 Format Python code with Black (#2391)
Co-authored-by: ericgaspar <46165813+ericgaspar@users.noreply.github.com>
2024-06-08 13:22:16 +02:00
Félix Piédallu
92f5b5297b readme_generator: use absolute paths to translations, not relative paths 2024-06-06 16:28:14 +02:00
OniriCorpe
85ae7b24fa 🎨 Format Python code with Black 2024-03-24 05:47:25 +01:00
OniriCorpe
19e9708946 chores: update & fix readme templates (#2164) 2024-03-24 05:45:21 +01:00
Laurent Peuch
b7b077006e fix(readme_generator/i18n): the template environnement was incorrectly loaded 2024-03-24 02:14:43 +01:00
Laurent Peuch
8f255b9e06 feat(readme_generator/i18n): add a warning in case a language is skipped 2024-03-22 20:17:52 +01:00
Laurent Peuch
ce8de39d2f feat(readme_generator/i18n): use langcodes module to get a language name in itself 2024-03-22 20:17:52 +01:00
Laurent Peuch
b444079bcd feat(readme_generator/i18n): generate a translated README for each fully translate language 2024-03-22 20:17:52 +01:00
Laurent Peuch
9215b6e070 feat(readme_generator/i18n): collect only translations that are 100% done 2024-03-22 20:17:52 +01:00
Laurent Peuch
fe30b2920b feat(readme_generator/i18n): integrate translation using babel into make_readme.py 2024-03-22 20:17:52 +01:00
Félix Piédallu
7fe984b0d2 Rework a bit make_readme.py and test_make_readme.py
* Use pathlib.Path

* Use difflib to show actual diffs between new and old readmes
2024-03-13 20:37:43 +01:00
OniriCorpe
41415c26a0 move the screenshots code part to only run it once, since it do not change with language 2024-03-13 03:22:39 +01:00
OniriCorpe
12f5aebd63 fix: ignore '.gitkeep' or any file whose name begins with a dot 2024-03-13 03:13:36 +01:00
OniriCorpe
1f2d5f2418 fix: referenced before assignment 2024-03-13 03:13:36 +01:00
OniriCorpe
775c6ef627 readme-generator: only pick files (no folder) on the root of 'screenshots' 2024-03-13 03:13:36 +01:00
OniriCorpe
d81f11f6ee 🎨 Format Python code with Black 2024-03-12 22:25:39 +01:00
Laurent Peuch
be831eb4ea feat(readme_generator): don't hardcode the list of languages, extract it from the README templates 2024-03-08 04:16:36 +01:00
Laurent Peuch
74d1310ef1 feat(make_readme): add some typing 2024-03-07 02:47:30 +01:00
Laurent Peuch
ebb7f2ed8e style: run black on tools/readme_generator/make_readme.py 2024-03-07 02:47:30 +01:00
Laurent Peuch
b12f9c9919 fix(make_readme): antifeatures_list content was modified by reference thus breaking translations 2024-03-07 02:47:30 +01:00
OniriCorpe
fb8ff3d0f4 remove forgotten debug print 2024-03-07 02:47:30 +01:00
OniriCorpe
221429766e smol fixes 2024-03-07 02:47:30 +01:00
Félix Piédallu
e02e54dc5f Rename README-generator -> readme_generator because python tools hate caps… 2024-02-15 15:03:31 +01:00
Renamed from README-generator/make_readme.py (Browse further)