Don't include the nimhcr dev docs in the system module documentation (#10759)
This commit is contained in:
parent
bba3a20e7c
commit
b9f8528db6
5 changed files with 186 additions and 188 deletions
|
|
@ -992,10 +992,13 @@ proc writeOutputJson*(d: PDoc, useWarning = false) =
|
|||
warnUser, "unable to open file \"" & d.destFile.string &
|
||||
"\" for writing")
|
||||
|
||||
proc commandDoc*(cache: IdentCache, conf: ConfigRef) =
|
||||
proc handleDocOutputOptions*(conf: ConfigRef) =
|
||||
if optWholeProject in conf.globalOptions:
|
||||
# Backward compatibility with previous versions
|
||||
conf.outDir = AbsoluteDir(conf.outDir / conf.outFile)
|
||||
|
||||
proc commandDoc*(cache: IdentCache, conf: ConfigRef) =
|
||||
handleDocOutputOptions conf
|
||||
var ast = parseFile(conf.projectMainIdx, cache, conf)
|
||||
if ast == nil: return
|
||||
var d = newDocumentor(conf.projectFull, cache, conf)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue