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
This commit is contained in:
Timothee Cour 2020-03-13 12:42:41 -07:00 • committed by GitHub
commit 6e0c06f50e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 27 additions and 12 deletions

View file

@ -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