diff --git a/mk_docs.py b/mk_docs.py index cac1ece..5b005c3 100755 --- a/mk_docs.py +++ b/mk_docs.py @@ -209,7 +209,7 @@ def mkcontribmodsindex(contrib_mods, module_index_file, contrib_mods_files): module_index += " * [Repository](" + module["html_url"] + ")" + "\n" try: - for page in pages[module["short_name"]]: + for page in sorted(pages[module["short_name"]]): module_index += " * Documentation: ["+ page + "](contrib_modules/"+ module["short_name"] + "/" + page +")\n" except KeyError: # some modules do not have documentation, just ignore them