summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--compiler/docgen.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/docgen.nim b/compiler/docgen.nim
index e214ece4a..3e2e5eac6 100644
--- a/compiler/docgen.nim
+++ b/compiler/docgen.nim
@@ -406,6 +406,7 @@ proc runAllExamples(d: PDoc) =
                 elif isDefined(d.conf, "objc"): "objc"
                 else: "c"
   if os.execShellCmd(os.getAppFilename() & " " & backend &
+                    " --warning[UnusedImport]:off" &
                     " --path:" & quoteShell(d.conf.projectPath) &
                     " --nimcache:" & quoteShell(outputDir) &
                     " -r " & quoteShell(outp)) != 0: