fixes documentation generator

This commit is contained in:
Araq 2014-09-14 11:34:06 +02:00
commit d330a72a45
4 changed files with 11 additions and 6 deletions

View file

@ -188,8 +188,9 @@ proc getPrefixDir*(): string =
result = splitPath(getAppDir()).head
proc canonicalizePath*(path: string): string =
result = path.expandFilename
when not FileSystemCaseSensitive: result = result.toLower
#result = path.expandFilename
when not FileSystemCaseSensitive: result = path.toLower
else: result = path
proc shortenDir*(dir: string): string =
## returns the interesting part of a dir