diff --git a/nimterop/docs.nim b/nimterop/docs.nim index 6c2bbfd..5fe87a1 100644 --- a/nimterop/docs.nim +++ b/nimterop/docs.nim @@ -2,11 +2,8 @@ import macros, strformat from os import parentDir, getCurrentCompilerExe, DirSep -when defined(nimdoc) or (NimMajor, NimMinor) >= (1, 3): - from os import paramCount, paramStr - when defined(nimdoc): - from os import getCurrentDir + from os import getCurrentDir, paramCount, paramStr proc getNimRootDir(): string = #[