summary refs log tree commit diff stats
path: root/compiler/main.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-05-15 10:03:06 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-05-15 10:03:06 +0200
commitc73cd5349ef532e8ac323a05c98fab7cb5c12fa5 (patch)
tree92268ea411032c27517b60eadc0b4750d6189297 /compiler/main.nim
parent5bf6ad9fa3a51e57ea7c0f9abb9d31e83cb140cf (diff)
downloadNim-c73cd5349ef532e8ac323a05c98fab7cb5c12fa5.tar.gz
documentation generator works again
Diffstat (limited to 'compiler/main.nim')
-rw-r--r--compiler/main.nim16
1 files changed, 8 insertions, 8 deletions
diff --git a/compiler/main.nim b/compiler/main.nim
index 69b33653b..e3f00db9e 100644
--- a/compiler/main.nim
+++ b/compiler/main.nim
@@ -188,43 +188,43 @@ proc mainCommand*(graph: ModuleGraph; cache: IdentCache) =
   of "doc0":
     wantMainModule(conf)
     conf.cmd = cmdDoc
-    loadConfigs(DocConfig, cache)
+    loadConfigs(DocConfig, cache, conf)
     commandDoc(conf)
   of "doc2", "doc":
     conf.cmd = cmdDoc
-    loadConfigs(DocConfig, cache)
+    loadConfigs(DocConfig, cache, conf)
     defineSymbol(conf.symbols, "nimdoc")
     commandDoc2(graph, cache, false)
   of "rst2html":
     conf.cmd = cmdRst2html
-    loadConfigs(DocConfig, cache)
+    loadConfigs(DocConfig, cache, conf)
     commandRst2Html(conf)
   of "rst2tex":
     conf.cmd = cmdRst2tex
-    loadConfigs(DocTexConfig, cache)
+    loadConfigs(DocTexConfig, cache, conf)
     commandRst2TeX(conf)
   of "jsondoc0":
     wantMainModule(conf)
     conf.cmd = cmdDoc
-    loadConfigs(DocConfig, cache)
+    loadConfigs(DocConfig, cache, conf)
     wantMainModule(conf)
     defineSymbol(conf.symbols, "nimdoc")
     commandJson(conf)
   of "jsondoc2", "jsondoc":
     conf.cmd = cmdDoc
-    loadConfigs(DocConfig, cache)
+    loadConfigs(DocConfig, cache, conf)
     wantMainModule(conf)
     defineSymbol(conf.symbols, "nimdoc")
     commandDoc2(graph, cache, true)
   of "ctags":
     wantMainModule(conf)
     conf.cmd = cmdDoc
-    loadConfigs(DocConfig, cache)
+    loadConfigs(DocConfig, cache, conf)
     defineSymbol(conf.symbols, "nimdoc")
     commandTags(conf)
   of "buildindex":
     conf.cmd = cmdDoc
-    loadConfigs(DocConfig, cache)
+    loadConfigs(DocConfig, cache, conf)
     commandBuildIndex(conf)
   of "gendepend":
     conf.cmd = cmdGenDepend