mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-12-13 11:52:27 +00:00
tools/generate_README: Order scripts by name
This commit is contained in:
parent
976871ad6d
commit
b68a3d3435
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@ for jsfilename in sorted(glob.glob('*.user.js')):
|
|||
shortname = jsfilename.replace('.user.js', '')
|
||||
items.append(dict(jsfile=jsfilename, shortname=shortname, header=d))
|
||||
|
||||
|
||||
items.sort(key=lambda elem: elem['header']['name'])
|
||||
|
||||
doctitle = "MusicBrainz UserScripts"
|
||||
print(doctitle)
|
||||
print('=' * len(doctitle))
|
||||
|
|
Loading…
Reference in a new issue