aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nimterop/docs.nim5
1 files changed, 1 insertions, 4 deletions
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 =
#[