mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Sort keys in collect-sections.py
This makes sure that the reference_docs.json file is build reproducible. Ref https://reproducible-builds.org/
This commit is contained in:
parent
404ae76787
commit
897842a83c
1 changed files with 1 additions and 1 deletions
|
@ -132,5 +132,5 @@ if __name__ == "__main__":
|
||||||
# print the sections to a json file
|
# print the sections to a json file
|
||||||
with open(outfile, "w") as f:
|
with open(outfile, "w") as f:
|
||||||
json.dump(
|
json.dump(
|
||||||
{name: section.to_json() for name, section in sections.items()}, f, indent=2
|
{name: section.to_json() for name, section in sections.items()}, f, indent=2, sort_keys=True
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue