diff --git a/src/DocBuilder.ts b/src/DocBuilder.ts index 1667499..268b31c 100644 --- a/src/DocBuilder.ts +++ b/src/DocBuilder.ts @@ -102,7 +102,7 @@ export class DocBuilder { this.gitRepo, 'blob', source.shortHash || this.gitBranch, - path.relative(this.basePath, pos.sourcePath) + path.relative(this.basePath, pos.sourcePath).replace(/\\/g, "/") ].join('/'); var urlHash = '#L' + pos.firstLine;