We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b23aba9 commit d173253Copy full SHA for d173253
scripts/publish/docs.js
@@ -37,7 +37,7 @@ function readFiles(directory, filelist) {
37
const originalPath = directory + file;
38
const newPath = path.join(outputPath, originalPath
39
.replace(documentationPath + `${path.sep}`, '')
40
- .replace(`${path.sep}`, '-'));
+ .replace(new RegExp(`${path.sep}`, 'g'), '-'));
41
42
filelist.push({ originalPath, newPath });
43
}
0 commit comments