summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-11-29 01:57:44 +0100
committerGitHub <noreply@github.com>2016-11-29 01:57:44 +0100
commit7f01bd6d46b953d781bc6c3ab7a0db150a07e9e7 (patch)
tree0612f352d4f11941a909d138432f105a49128d27
parentab43ad13dc0bcab9d0120175dc2e35446cd2c571 (diff)
parent95682cdfb7596466a30e610c01bd0c8fad39e877 (diff)
downloadNim-7f01bd6d46b953d781bc6c3ab7a0db150a07e9e7.tar.gz
Merge pull request #5067 from vktec/remove-docutils-path
Remove docgen.nim's dependency on things being in path
-rw-r--r--compiler/docgen.nim6
-rw-r--r--compiler/nim.cfg2
2 files changed, 4 insertions, 4 deletions
diff --git a/compiler/docgen.nim b/compiler/docgen.nim
index 76b36d796..211544924 100644
--- a/compiler/docgen.nim
+++ b/compiler/docgen.nim
@@ -13,8 +13,10 @@
 
 import
   ast, strutils, strtabs, options, msgs, os, ropes, idents,
-  wordrecg, syntaxes, renderer, lexer, rstast, rst, rstgen, times, highlite,
-  importer, sempass2, json, xmltree, cgi, typesrenderer, astalgo
+  wordrecg, syntaxes, renderer, lexer, packages/docutils/rstast,
+  packages/docutils/rst, packages/docutils/rstgen, times,
+  packages/docutils/highlite, importer, sempass2, json, xmltree, cgi,
+  typesrenderer, astalgo
 
 type
   TSections = array[TSymKind, Rope]
diff --git a/compiler/nim.cfg b/compiler/nim.cfg
index 0ff128ba3..853ae7e00 100644
--- a/compiler/nim.cfg
+++ b/compiler/nim.cfg
@@ -4,8 +4,6 @@ hint[XDeclaredButNotUsed]:off
 path:"llvm"
 path:"$projectPath/.."
 
-path:"$lib/packages/docutils"
-
 define:booting
 #import:"$projectpath/testability"