mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
no backslashes
This commit is contained in:
@@ -36,7 +36,7 @@ console.log('Generating search index for documentation');
|
||||
this.field('c'); // content
|
||||
|
||||
files.map((file, index) => {
|
||||
const relativePath = path.relative('./docs', file);
|
||||
const relativePath = path.relative('./docs', file).replace(/\\/g, '/');
|
||||
const url = relativePath.replace(/\.md$/, '');
|
||||
const filename = path.basename(file);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user