diff options
author | Martin Fischer <martin@push-f.com> | 2021-11-27 09:59:13 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-11-27 12:53:41 +0100 |
commit | e48c98c767f83554c75457c54ab7942dcc0d316b (patch) | |
tree | 16801f1116f33f906eef15b9729c6f3d3b0c12ca | |
parent | 5a378e3c4cead462fa7a419524b6fe215241284f (diff) |
data: sort versions in data.json
-rwxr-xr-x | build.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -27,6 +27,8 @@ for version, data in versions.items(): except FileNotFoundError: pass +versions = dict(reversed(list(versions.items()))) + unstable_features = get_features('unstable') @@ -115,7 +117,7 @@ with open('target/index.html', 'w') as f: f.write('<h2 id=unstable>Unstable features</h2>') write_features(f, unstable_features) - for version, data in reversed(list(versions.items())): + for version, data in versions.items(): f.write('<h2 id={0}>{0}</h2>'.format(version)) if 'features' in data: write_features(f, data['features']) |