From 13b1b19a83000743df3c844a34652e7ad0d308f5 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Thu, 26 Nov 2020 11:54:18 -0800 Subject: remove all mentions of doc2, jsondoc2 (except 1 mentioning the alias) (#15683) --- tools/nimweb.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/nimweb.nim') diff --git a/tools/nimweb.nim b/tools/nimweb.nim index 10319be87..f71b5f3be 100644 --- a/tools/nimweb.nim +++ b/tools/nimweb.nim @@ -326,7 +326,7 @@ proc buildDoc(c: var TConfigData, destPath: string) = destPath / changeFileExt(splitFile(d).name, "html"), d] i.inc for d in items(c.srcdoc2): - commands[i] = findNim(c) & " doc2 $# --git.url:$# -o:$# --index:on $#" % + commands[i] = findNim(c) & " doc $# --git.url:$# -o:$# --index:on $#" % [c.nimArgs, c.gitURL, destPath / changeFileExt(splitFile(d).name, "html"), d] i.inc @@ -361,7 +361,7 @@ proc buildAddDoc(c: var TConfigData, destPath: string) = # build additional documentation (without the index): var commands = newSeq[string](c.webdoc.len) for i, doc in pairs(c.webdoc): - commands[i] = findNim(c) & " doc2 $# --git.url:$# -o:$# $#" % + commands[i] = findNim(c) & " doc $# --git.url:$# -o:$# $#" % [c.nimArgs, c.gitURL, destPath / changeFileExt(splitFile(doc).name, "html"), doc] mexec(commands, c.numProcessors) @@ -537,7 +537,7 @@ proc json2(c: var TConfigData) = var i = 0 for d in items(c.srcdoc2): createDir(destPath / splitFile(d).dir) - commands[i] = findNim(c) & " jsondoc2 $# --git.url:$# -o:$# --index:on $#" % + commands[i] = findNim(c) & " jsondoc $# --git.url:$# -o:$# --index:on $#" % [c.nimArgs, c.gitURL, destPath / changeFileExt(d, "json"), d] i.inc -- cgit 1.4.1-2-gfad0