This commit is contained in:
Trilarion 2017-12-12 14:53:53 +01:00
parent 23589defc8
commit 8e0802215e
3 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,8 @@
# Open Source Games # Open Source Games
[comment]: # (start of autogenerated content, do not edit) [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) - **[Adventure games & Visual novels](games/adventure/_toc.md)** (15)
- **[Game frameworks](games/framework/_toc.md)** (46) - **[Game frameworks](games/framework/_toc.md)** (46)
- **[Popular required libraries](games/library/_toc.md)** (23) - **[Popular required libraries](games/library/_toc.md)** (23)

View File

@ -112,7 +112,7 @@ def update_readme():
# assemble output # assemble output
update = ['- **[{}](games/{}/_toc.md)** ({})\n'.format(*entry) for entry in info] 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 # 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 text = start + "[comment]: # (start of autogenerated content, do not edit)\n" + update + "\n[comment]: # (end of autogenerated content)" + end