From 52c1c629d86f8a96d09b8e4e1fdb528e8c3d0c6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Ivan=C4=8Di=C4=87?= Date: Fri, 10 Oct 2025 13:38:24 +0200 Subject: [PATCH] Sort module documentation pages --- mk_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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