remove all mentions of doc2, jsondoc2 (except 1 mentioning the alias) (#15683)
This commit is contained in:
parent
70a1c42542
commit
13b1b19a83
9 changed files with 15 additions and 15 deletions
|
|
@ -265,7 +265,7 @@ proc buildDoc(nimArgs, destPath: string) =
|
|||
[extra, nimArgs2, gitUrl, destPath, d]
|
||||
i.inc
|
||||
for d in items(withoutIndex):
|
||||
commands[i] = nim & " doc2 $# --git.url:$# -o:$# $#" %
|
||||
commands[i] = nim & " doc $# --git.url:$# -o:$# $#" %
|
||||
[nimArgs, gitUrl,
|
||||
destPath / changeFileExt(splitFile(d).name, "html"), d]
|
||||
i.inc
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue