summary refs log tree commit diff stats
path: root/tools/nimweb.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-11-26 11:54:18 -0800
committerGitHub <noreply@github.com>2020-11-26 11:54:18 -0800
commit13b1b19a83000743df3c844a34652e7ad0d308f5 (patch)
tree335ebae16386b1aacd4f027b29f005415587e683 /tools/nimweb.nim
parent70a1c4254230eb8f3c4d24ccbc253c0a28065d03 (diff)
downloadNim-13b1b19a83000743df3c844a34652e7ad0d308f5.tar.gz
remove all mentions of doc2, jsondoc2 (except 1 mentioning the alias) (#15683)
Diffstat (limited to 'tools/nimweb.nim')
-rw-r--r--tools/nimweb.nim6
1 files changed, 3 insertions, 3 deletions
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