summaryrefslogtreecommitdiff
path: root/man/lib
diff options
context:
space:
mode:
authorKonstantin Kirik (snegovick) <snegovick@uprojects.org>2025-12-09 10:50:14 +0300
committerKonstantin Kirik (snegovick) <snegovick@uprojects.org>2025-12-09 10:50:14 +0300
commit1beb1efbc89713daf11f6cb6c982459964456369 (patch)
treef400ef7abaa6cb940936707af456e9229abd26b0 /man/lib
parenta7fc468817c9cf553f383e728b555b57b647b146 (diff)
Sort section sub-entries in section index html
Diffstat (limited to 'man/lib')
-rw-r--r--man/lib/mksectionindex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/lib/mksectionindex.py b/man/lib/mksectionindex.py
index e1a84926..35c13b13 100644
--- a/man/lib/mksectionindex.py
+++ b/man/lib/mksectionindex.py
@@ -29,7 +29,7 @@ if __name__ == "__main__":
<pre>
"""
- for f in os.listdir():
+ for f in sorted(os.listdir()):
if f == 'INDEX':
continue
index_file += f"<a href=\"{prefix}{section}/{f}.html\">{f}</a>\n"