diff --git a/doc/rstPreproc.nim b/doc/rstPreproc.nim index 6de27f0..a59b36f 100644 --- a/doc/rstPreproc.nim +++ b/doc/rstPreproc.nim @@ -85,6 +85,7 @@ proc outputExamples(curPath: string, level: int = 0) = if filePath != "title": codeFiles.add(filePath) elif kind == pcDir: subdirs.add(filePath) + codeFiles.sort() case codeFiles.len of 0: discard of 1: