We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48eeaff commit d773663Copy full SHA for d773663
apps/site/scripts/orama-search/get-documents.mjs
@@ -61,7 +61,7 @@ const getArticles = async () => {
61
processDocument(
62
{
63
content: await readFile(join(root, path), 'utf8'),
64
- pathname: basename(path),
+ pathname: path.replace(/\.mdx?$/, ''),
65
},
66
true
67
)
0 commit comments