Don't include the nimhcr dev docs in the system module documentation (#10759)

This commit is contained in:
zah 2019-03-08 16:23:36 +02:00 • committed by Andreas Rumpf
commit b9f8528db6
5 changed files with 186 additions and 188 deletions

View file

@ -63,9 +63,7 @@ proc commandCheck(graph: ModuleGraph) =
when not defined(leanCompiler):
proc commandDoc2(graph: ModuleGraph; json: bool) =
if optWholeProject in graph.config.globalOptions:
# Backward compatibility with previous versions
graph.config.outDir = AbsoluteDir(graph.config.outDir / graph.config.outFile)
handleDocOutputOptions graph.config
graph.config.errorMax = high(int) # do not stop after first error
semanticPasses(graph)
if json: registerPass(graph, docgen2JsonPass)