Skip to content

Commit 1f5b9e8

Browse files
committed
add path transformation config
1 parent d094ea3 commit 1f5b9e8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docusaurus.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,11 @@ const config = {
354354
// Content cleaning options
355355
excludeImports: true,
356356
removeDuplicateHeadings: true,
357+
// Path transformation to fix URL construction
358+
// Since docsDir is '.', we need to remove 'docs/' prefix and handle src/pages paths
359+
pathTransformation: {
360+
ignorePaths: ['docs', 'src/pages'],
361+
},
357362
// Generate separate files for each section
358363
// Files will be organized into subdirectories by the post-build script
359364
customLLMFiles: [

0 commit comments

Comments
 (0)