mirror of
https://github.com/status-im/NimYAML.git
synced 2025-01-13 21:15:13 +00:00
webdocs: have code always on left side in quickstart
This commit is contained in:
parent
1fe5991337
commit
5aa39aa0f1
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user