We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6235b3d commit e8c3233Copy full SHA for e8c3233
tools/net/ynl/ynl-gen-rst.py
@@ -383,7 +383,7 @@ def generate_main_index_rst(output: str) -> None:
383
384
index_dir = os.path.dirname(output)
385
logging.debug("Looking for .rst files in %s", index_dir)
386
- for filename in os.listdir(index_dir):
+ for filename in sorted(os.listdir(index_dir)):
387
if not filename.endswith(".rst") or filename == "index.rst":
388
continue
389
lines.append(f" {filename.replace('.rst', '')}\n")
0 commit comments