mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-13 02:43:58 +02:00
Vitamins now sorted alphabetically in build instructions.
This commit is contained in:
@@ -267,7 +267,7 @@ def views(target, do_assemblies = None):
|
||||
print("### Vitamins", file = doc_file)
|
||||
print("|Qty|Description|", file = doc_file)
|
||||
print("|--:|:----------|", file = doc_file)
|
||||
for v in vitamins:
|
||||
for v in sorted(vitamins, key = lambda s: s.split(":")[-1]):
|
||||
print("|%d|%s|" % (vitamins[v], v.split(":")[1]), file = doc_file)
|
||||
print("\n", file = doc_file)
|
||||
|
||||
|
Reference in New Issue
Block a user