webdocs: have code always on left side in quickstart

This commit is contained in:
Felix Krause 2022-06-04 13:03:49 +02:00
parent 1fe5991337
commit 5aa39aa0f1
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ proc outputExamples(curPath: string, level: int = 0) =
if filePath != "title": codeFiles.add(filePath) if filePath != "title": codeFiles.add(filePath)
elif kind == pcDir: elif kind == pcDir:
subdirs.add(filePath) subdirs.add(filePath)
codeFiles.sort()
case codeFiles.len case codeFiles.len
of 0: discard of 0: discard
of 1: of 1: