Remove docgen.nim's dependency on things being in path

compiler/docgen.nim relied heavily on $lib/packages/docutils being in
path at compile-time. While this works fine when building Nim itself,
things start breaking when using compiler as a nimble package.
This commit is contained in:
Samadi van Koten 2016-11-28 23:02:30 +00:00
commit 95682cdfb7
2 changed files with 4 additions and 4 deletions

View file

@ -13,8 +13,10 @@
import import
ast, strutils, strtabs, options, msgs, os, ropes, idents, ast, strutils, strtabs, options, msgs, os, ropes, idents,
wordrecg, syntaxes, renderer, lexer, rstast, rst, rstgen, times, highlite, wordrecg, syntaxes, renderer, lexer, packages/docutils/rstast,
importer, sempass2, json, xmltree, cgi, typesrenderer, astalgo packages/docutils/rst, packages/docutils/rstgen, times,
packages/docutils/highlite, importer, sempass2, json, xmltree, cgi,
typesrenderer, astalgo
type type
TSections = array[TSymKind, Rope] TSections = array[TSymKind, Rope]

View file

@ -4,8 +4,6 @@ hint[XDeclaredButNotUsed]:off
path:"llvm" path:"llvm"
path:"$projectPath/.." path:"$projectPath/.."
path:"$lib/packages/docutils"
define:booting define:booting
#import:"$projectpath/testability" #import:"$projectpath/testability"