docgen should work again
This commit is contained in:
parent
fc47c0edc7
commit
a9a5766c66
15 changed files with 120 additions and 106 deletions
|
|
@ -10,7 +10,7 @@ proc decodeContent(content: string): string =
|
|||
if line != "":
|
||||
result.add decode(line)
|
||||
|
||||
proc contains(x: seq[PJSonNode], s: string): bool =
|
||||
proc contains(x: seq[JSonNode], s: string): bool =
|
||||
for i in x:
|
||||
assert i.kind == JString
|
||||
if i.str == s: return true
|
||||
|
|
@ -20,7 +20,7 @@ proc processContent(content: string) =
|
|||
assert jsonDoc.kind == JArray
|
||||
var jsonArr = jsonDoc.elems
|
||||
|
||||
jsonArr.sort do (x, y: PJsonNode) -> int:
|
||||
jsonArr.sort do (x, y: JsonNode) -> int:
|
||||
strutils.cmpIgnoreCase(x["name"].str, y["name"].str)
|
||||
|
||||
var
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue