Skip to content

Commit 52c1c62

Browse files
committed
Sort module documentation pages
1 parent f4f3e07 commit 52c1c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mk_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def mkcontribmodsindex(contrib_mods, module_index_file, contrib_mods_files):
209209
module_index += " * [Repository](" + module["html_url"] + ")" + "\n"
210210

211211
try:
212-
for page in pages[module["short_name"]]:
212+
for page in sorted(pages[module["short_name"]]):
213213
module_index += " * Documentation: ["+ page + "](contrib_modules/"+ module["short_name"] + "/" + page +")\n"
214214
except KeyError:
215215
# some modules do not have documentation, just ignore them

0 commit comments

Comments
 (0)