fixes documentation generator
This commit is contained in:
parent
05f09fafcf
commit
d330a72a45
4 changed files with 11 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue