Docs: deterministic ordering of howto index

This commit is contained in:
Mark Harrah 2013-07-29 07:27:17 -04:00
parent 656506a7a7
commit f29b37e9d3
1 changed files with 3 additions and 1 deletions

View File

@ -136,7 +136,9 @@ def process_howto_nodes(app, doctree, fromdocname):
doc['infos'].append(howto_info)
content = []
for doc in howtos_by_doc.values():
sorted_names = sorted(howtos_by_doc.keys())
for docname in sorted_names:
doc = howtos_by_doc[docname]
doc_link = doc['link']
section = howto_section(doc['title'], doc_link, doctree)
for howto_info in doc['infos']: