fixed anchored links for tocs

This commit is contained in:
Trilarion 2019-07-08 13:29:53 +02:00
parent 59b96e0878
commit 66f66ae6ba
8 changed files with 27 additions and 21 deletions

View File

@ -4,24 +4,24 @@
[comment]: # (start of autogenerated content, do not edit)
- **[All](games/_all.md#All)** (517)
- **[Action](games/_action.md#Action)** (69)
- **[Arcade](games/_arcade.md#Arcade)** (10)
- **[Adventure](games/_adventure.md#Adventure)** (14)
- **[Visual novel](games/_visual novel.md#Visual novel)** (4)
- **[Sports](games/_sports.md#Sports)** (8)
- **[Platform](games/_platform.md#Platform)** (2)
- **[Puzzle](games/_puzzle.md#Puzzle)** (18)
- **[Role playing](games/_role playing.md#Role playing)** (117)
- **[Simulation](games/_simulation.md#Simulation)** (33)
- **[Strategy](games/_strategy.md#Strategy)** (168)
- **[Card game](games/_card game.md#Card game)** (1)
- **[Board game](games/_board game.md#Board game)** (9)
- **[Music](games/_music.md#Music)** (3)
- **[Educational](games/_educational.md#Educational)** (3)
- **[Tool](games/_tool.md#Tool)** (15)
- **[Game engine](games/_game engine.md#Game engine)** (7)
- **[Framework](games/_framework.md#Framework)** (59)
- **[Library](games/_library.md#Library)** (22)
- **[Action](games/_action.md#action)** (69)
- **[Arcade](games/_arcade.md#arcade)** (10)
- **[Adventure](games/_adventure.md#adventure)** (14)
- **[Visual novel](games/_visual-novel.md#visual-novel)** (4)
- **[Sports](games/_sports.md#sports)** (8)
- **[Platform](games/_platform.md#platform)** (2)
- **[Puzzle](games/_puzzle.md#puzzle)** (18)
- **[Role playing](games/_role-playing.md#role-playing)** (117)
- **[Simulation](games/_simulation.md#simulation)** (33)
- **[Strategy](games/_strategy.md#strategy)** (168)
- **[Card game](games/_card-game.md#card-game)** (1)
- **[Board game](games/_board-game.md#board-game)** (9)
- **[Music](games/_music.md#music)** (3)
- **[Educational](games/_educational.md#educational)** (3)
- **[Tool](games/_tool.md#tool)** (15)
- **[Game engine](games/_game-engine.md#game-engine)** (7)
- **[Framework](games/_framework.md#framework)** (59)
- **[Library](games/_library.md#library)** (22)
[comment]: # (end of autogenerated content)
A list of open source games sorted by genre. The projects are at least in beta stage with a code basis that builds

View File

@ -1,7 +1,7 @@
[comment]: # (autogenerated content, do not edit)
# Statistics
analyzed 517 entries on 2019-07-08 13:09:04
analyzed 517 entries on 2019-07-08 13:28:23
## State

View File

@ -85,8 +85,9 @@ def update_readme_and_tocs(infos):
for keyword in recommended_keywords:
infos_filtered = [x for x in infos if keyword in x['keywords']]
title = keyword.capitalize()
file = '_{}.md'.format(keyword)
update.append('- **[{}](games/{}#{})** ({})\n'.format(title, file, title, len(infos_filtered)))
name = keyword.replace(' ', '-')
file = '_{}.md'.format(name)
update.append('- **[{}](games/{}#{})** ({})\n'.format(title, file, name, len(infos_filtered)))
create_toc(title, file, infos_filtered)
update = ''.join(update)
@ -712,6 +713,11 @@ def bzr_repo(repo):
def export_primary_code_repositories_json():
"""
"""
print('export to json for local repository update')
primary_repos = {'git':[],'svn':[],'hg':[],'bzr':[]}
unconsumed_entries = []