mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix v -W build-tools
This commit is contained in:
@@ -80,9 +80,9 @@ fn (vd VDoc) gen_json(d doc.Doc) string {
|
||||
} else {
|
||||
d.head.merge_comments_without_examples()
|
||||
}
|
||||
jw.write('{"module_name":"$d.head.name","description":"${escape(comments)}","contents":')
|
||||
jw.write(json.encode(d.contents.keys().map(d.contents[it])))
|
||||
jw.write(',"generator":"vdoc","time_generated":"$d.time_generated.str()"}')
|
||||
jw.write_string('{"module_name":"$d.head.name","description":"${escape(comments)}","contents":')
|
||||
jw.write_string(json.encode(d.contents.keys().map(d.contents[it])))
|
||||
jw.write_string(',"generator":"vdoc","time_generated":"$d.time_generated.str()"}')
|
||||
return jw.str()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user