summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-03-13 12:42:41 -0700
committerGitHub <noreply@github.com>2020-03-13 20:42:41 +0100
commit6e0c06f50e0450522b32a1bad23a3d2a4e36e9f9 (patch)
tree99acceaabd5a5131343a0fa5305aff8b54c0e829 /tools
parent380a505507a6df9cbb1fe77b5b6251dc14894921 (diff)
downloadNim-6e0c06f50e0450522b32a1bad23a3d2a4e36e9f9.tar.gz
fix #13218: avoid some irrelevant warnings for nim doc,rst2html,--app:lib, + other fixes (#13550)
* fix #13218: avoid some irrelevant warnings for nim doc,rst2html
* suppress warnRedefinitionOfLabel for nim doc
* lots of fixes for UnusedImport warnings
Diffstat (limited to 'tools')
-rw-r--r--tools/kochdocs.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/kochdocs.nim b/tools/kochdocs.nim
index 75df629e3..87cdf53aa 100644
--- a/tools/kochdocs.nim
+++ b/tools/kochdocs.nim
@@ -149,8 +149,10 @@ lib/posix/linux.nim
 lib/posix/termios.nim
 lib/js/jscore.nim
 """.splitWhitespace()
-
+  
+  # some of these are include files so shouldn't be docgen'd
   ignoredModules = """
+lib/prelude.nim
 lib/pure/future.nim
 lib/impure/osinfo_posix.nim
 lib/impure/osinfo_win.nim