Skip to content
Snippets Groups Projects
Unverified Commit 83fa695d authored by Johannes Elferich's avatar Johannes Elferich Committed by GitHub
Browse files

:bug: FIX: Ensure sorting of files during toc creation

Ensure sorting of files in directory
parent deb423f7
No related branches found
No related tags found
No related merge requests found
......@@ -262,7 +262,7 @@ def _find_content_structure(
# First parse all the content files
content_files = [
ii for ii in path.iterdir() if ii.suffix in SUPPORTED_FILE_SUFFIXES
ii for ii in sorted(path.iterdir()) if ii.suffix in SUPPORTED_FILE_SUFFIXES
]
if len(content_files) == 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment