diff --git a/README.md b/README.md index 7fabf37e..e3be89ee 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ # Open Source Games [comment]: # (start of autogenerated content, do not edit) -198 entries- **[Action games](games/action/_toc.md)** (1) +198 entries +- **[Action games](games/action/_toc.md)** (1) - **[Adventure games & Visual novels](games/adventure/_toc.md)** (15) - **[Game frameworks](games/framework/_toc.md)** (46) - **[Popular required libraries](games/library/_toc.md)** (23) diff --git a/games/library/allegro.md b/games/framework/allegro.md similarity index 100% rename from games/library/allegro.md rename to games/framework/allegro.md diff --git a/games/maintenance.py b/games/maintenance.py index f42a2421..407a22c7 100644 --- a/games/maintenance.py +++ b/games/maintenance.py @@ -112,7 +112,7 @@ def update_readme(): # assemble output update = ['- **[{}](games/{}/_toc.md)** ({})\n'.format(*entry) for entry in info] - update = "{} entries".format(sum(n)) + "".join(update) + update = "{} entries\n".format(sum(n)) + "".join(update) # insert new text in the middle text = start + "[comment]: # (start of autogenerated content, do not edit)\n" + update + "\n[comment]: # (end of autogenerated content)" + end