Skip to content

Commit 7b540e1

Browse files
committed
fix(jsdoc) Normalize generated path on Windows
1 parent 3c06ff9 commit 7b540e1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@
268268
- namoscato
269269
- ned-park
270270
- nenene3
271+
- ngbrown
271272
- nichtsam
272273
- nikeee
273274
- nilubisan

scripts/docs.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ function buildRepoDocsLinks(outputDir: string): Map<string, string> {
173173
markdownFiles.forEach((filePath) => {
174174
const relativePath = path
175175
.relative(outputDir, filePath)
176-
.replace(/\.md$/, "");
176+
.replace(/\.md$/, "")
177+
.replace(/\\/g, "/");
177178
const apiName = path.basename(relativePath);
178179

179180
if (apiName !== "index") {

0 commit comments

Comments
 (0)