Skip to content

Commit

Permalink
Update update_readme.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarx authored Aug 6, 2023
1 parent 7fbe479 commit 33e14d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/update_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ def make_badges(unq_tags, sep=' '):
readme_stub = f.read()
readme = readme_stub.replace('{TOC}', toc_str)
readme = readme.replace('{tags}', make_badges(unq_tags))
readme += f"\n\n<!--\n{[(k, len(v)) for k,v in unq_tags.items()]}\n--!>"
readme = readme.strip()
if not readme:
with open('empty.stub') as f:
Expand Down

0 comments on commit 33e14d3

Please sign in to comment.